dynamic database

This commit is contained in:
2024-10-07 22:58:17 -04:00
parent d91460fa82
commit d0641950f9
20 changed files with 2 additions and 98 deletions

View File

@@ -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,