Updated models
This commit is contained in:
@@ -23,3 +23,11 @@ class Admin_Company_schema(ma.SQLAlchemyAutoSchema):
|
||||
class Meta:
|
||||
model = Admin_Company
|
||||
|
||||
# --- ADD THIS ENTIRE NEW MODEL ---
|
||||
class Call(db.Model):
|
||||
__tablename__ = "call_call"
|
||||
__table_args__ = {"schema": "public"}
|
||||
|
||||
id = db.Column(db.Integer, primary_key=True, index=True)
|
||||
current_phone = db.Column(db.String(500))
|
||||
created_at = db.Column(db.DateTime, default=datetime.utcnow)
|
||||
Reference in New Issue
Block a user