dynamic database
This commit is contained in:
@@ -4,7 +4,6 @@ from datetime import datetime
|
||||
|
||||
class Employee_Employee(db.Model):
|
||||
__tablename__ = 'employee_employee'
|
||||
__bind_key__ = 'eamco'
|
||||
__table_args__ = {"schema": "public"}
|
||||
|
||||
id = db.Column(db.Integer,
|
||||
@@ -34,7 +33,6 @@ class Employee_Employee_schema(ma.SQLAlchemyAutoSchema):
|
||||
|
||||
class Employee_Credentials(db.Model):
|
||||
__tablename__ = 'employee_credentials'
|
||||
__bind_key__ = 'eamco'
|
||||
__table_args__ = {"schema": "public"}
|
||||
|
||||
id = db.Column(db.Integer,
|
||||
@@ -54,7 +52,6 @@ class Employee_Credentials_schema(ma.SQLAlchemyAutoSchema):
|
||||
|
||||
class Employee_Vacation(db.Model):
|
||||
__tablename__ = 'employee_vacation'
|
||||
__bind_key__ = 'eamco'
|
||||
__table_args__ = {"schema": "public"}
|
||||
|
||||
id = db.Column(db.Integer,
|
||||
|
||||
Reference in New Issue
Block a user