major update
This commit is contained in:
@@ -98,3 +98,32 @@ class Customer_Description(db.Model):
|
||||
class Customer_Description_schema(ma.SQLAlchemyAutoSchema):
|
||||
class Meta:
|
||||
model = Customer_Description
|
||||
|
||||
|
||||
class Customer_Property_schema(ma.SQLAlchemyAutoSchema):
|
||||
class Meta:
|
||||
model = Customer_Property
|
||||
|
||||
|
||||
class Customer_Tank_Inspection(db.Model):
|
||||
__tablename__ = 'customer_tank'
|
||||
__table_args__ = {"schema": "public"}
|
||||
|
||||
id = db.Column(db.Integer,
|
||||
primary_key=True,
|
||||
autoincrement=True,
|
||||
unique=False)
|
||||
|
||||
customer_id = db.Column(db.INTEGER)
|
||||
last_tank_inspection = db.Column(db.DATE())
|
||||
tank_status = db.Column(db.BOOLEAN)
|
||||
outside_or_inside = db.Column(db.BOOLEAN)
|
||||
tank_size = db.Column(db.INTEGER)
|
||||
|
||||
|
||||
|
||||
class Customer_Tank_Inspection_schema(ma.SQLAlchemyAutoSchema):
|
||||
class Meta:
|
||||
model = Customer_Tank_Inspection
|
||||
|
||||
|
||||
Reference in New Issue
Block a user