mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-22 19:15:08 +03:00
Rework the database migration system
This commit is contained in:
+6
-1
@@ -4,4 +4,9 @@ from models import *
|
||||
from validation import *
|
||||
from utils import *
|
||||
from dependencies import *
|
||||
from app import *
|
||||
from migration import run_migrations
|
||||
from app import *
|
||||
|
||||
# Run database migrations on startup
|
||||
print("Starting database migration check...")
|
||||
run_migrations()
|
||||
Reference in New Issue
Block a user