[update] Remove foreign key constraints

This commit is contained in:
VivianDee
2025-03-28 09:56:27 +01:00
parent b4e541ceb9
commit ad39b1c75c
8 changed files with 206 additions and 6 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ from app.errors import register_error_handlers
from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
db = SQLAlchemy()
migrate = Migrate()
@@ -36,7 +37,7 @@ def create_app():
# Error Handlers
register_error_handlers(app)
from . import models
# Database and Migrations
db.init_app(app)