Rework the database migration system

This commit is contained in:
2025-09-27 21:51:31 +03:00
Unverified
parent 333c5e9ec3
commit 2c80e31a24
12 changed files with 701 additions and 167 deletions
+2 -2
View File
@@ -167,5 +167,5 @@ class MessageResponse(BaseModel):
from_attributes = True
# Создание таблиц
Base.metadata.create_all(bind=engine)
# Tables are now created through Alembic migrations
# Base.metadata.create_all(bind=engine)