dynamic database
This commit is contained in:
@@ -5,7 +5,6 @@ from datetime import datetime
|
||||
|
||||
class Customer_Customer(db.Model):
|
||||
__tablename__ = 'customer_customer'
|
||||
__bind_key__ = 'eamco'
|
||||
__table_args__ = {"schema": "public"}
|
||||
|
||||
id = db.Column(db.Integer,
|
||||
@@ -35,7 +34,6 @@ class Customer_Customer_schema(ma.SQLAlchemyAutoSchema):
|
||||
|
||||
class Customer_Property(db.Model):
|
||||
__tablename__ = 'customer_property'
|
||||
__bind_key__ = 'eamco'
|
||||
__table_args__ = {"schema": "public"}
|
||||
|
||||
id = db.Column(db.Integer,
|
||||
@@ -61,7 +59,6 @@ class Customer_Property_schema(ma.SQLAlchemyAutoSchema):
|
||||
|
||||
class Customer_Payment_Credit(db.Model):
|
||||
__tablename__ = 'customer_payment'
|
||||
__bind_key__ = 'eamco'
|
||||
__table_args__ = {"schema": "public"}
|
||||
|
||||
id = db.Column(db.Integer,
|
||||
@@ -86,7 +83,6 @@ class Customer_Payment_Credit_schema(ma.SQLAlchemyAutoSchema):
|
||||
|
||||
class Customer_Description(db.Model):
|
||||
__tablename__ = 'customer_description'
|
||||
__bind_key__ = 'eamco'
|
||||
__table_args__ = {"schema": "public"}
|
||||
|
||||
id = db.Column(db.Integer,
|
||||
|
||||
Reference in New Issue
Block a user