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

@@ -4,7 +4,6 @@ from app import db, ma
class Query_EmployeeTypeList(db.Model):
__tablename__ = 'query_employee_type_list'
__bind_key__ = 'eamco'
__table_args__ = {"schema": "public"}
id = db.Column(db.Integer, primary_key=True, autoincrement=True)
value = db.Column(db.INTEGER)
@@ -20,7 +19,6 @@ class Query_EmployeeTypeList_Schema(ma.SQLAlchemyAutoSchema):
class Query_StateList(db.Model):
__tablename__ = 'query_state_list'
__bind_key__ = 'eamco'
__table_args__ = {"schema": "public"}
id = db.Column(db.Integer, primary_key=True, autoincrement=True)
value = db.Column(db.INTEGER)
@@ -37,7 +35,6 @@ class Query_StateList_Schema(ma.SQLAlchemyAutoSchema):
class Query_CustomerTypeList(db.Model):
__tablename__ = 'query_customer_type_list'
__bind_key__ = 'eamco'
__table_args__ = {"schema": "public"}
id = db.Column(db.Integer, primary_key=True, autoincrement=True)
value = db.Column(db.INTEGER)
@@ -55,7 +52,6 @@ class Query_CustomerTypeList_Schema(ma.SQLAlchemyAutoSchema):
class Query_ServiceTypeList(db.Model):
__tablename__ = 'query_service_type_list'
__bind_key__ = 'eamco'
__table_args__ = {"schema": "public"}
id = db.Column(db.Integer, primary_key=True, autoincrement=True)
value = db.Column(db.INTEGER)
@@ -73,7 +69,6 @@ class Query_ServiceTypeList_Schema(ma.SQLAlchemyAutoSchema):
class Query_DeliveryStatusList(db.Model):
__tablename__ = 'query_delivery_type_list'
__bind_key__ = 'eamco'
__table_args__ = {"schema": "public"}
id = db.Column(db.Integer, primary_key=True, autoincrement=True)
value = db.Column(db.INTEGER)