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
+6 -1
View File
@@ -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()