Implement chat API key generation, and create a tenant_overview
This commit is contained in:
@@ -37,7 +37,7 @@ class Tenant(db.Model):
|
||||
license_start_date = db.Column(db.Date, nullable=True)
|
||||
license_end_date = db.Column(db.Date, nullable=True)
|
||||
allowed_monthly_interactions = db.Column(db.Integer, nullable=True)
|
||||
encrypted_api_key = db.Column(db.String(500), nullable=True)
|
||||
encrypted_chat_api_key = db.Column(db.String(500), nullable=True)
|
||||
|
||||
# Relations
|
||||
users = db.relationship('User', backref='tenant')
|
||||
|
||||
Reference in New Issue
Block a user