- Implemented the initial version of the web interface. refactor: Begin Telegram bot refactoring - Started restructuring the bot’s code for better maintainability. chore: Migrate to Flask project structure - Reorganized the application to follow Flask's project structure. cleanup: Extensive code cleanup - Removed redundant code and improved readability. Signed-off-by: UdoChudo <stream@udochudo.ru>
6 lines
223 B
Python
6 lines
223 B
Python
from app.extensions.db import db
|
|
|
|
class Regions(db.Model):
|
|
region_id = db.Column(db.Integer, primary_key=True)
|
|
region_name = db.Column(db.String(255), nullable=False)
|
|
active = db.Column(db.Boolean, default=True) |