Enabled track modifications

This commit is contained in:
Marcin-Ramotowski 2023-12-06 19:21:20 +00:00
parent 8be13d0437
commit 9f20a72f98

2
app.py

@ -9,7 +9,7 @@ load_dotenv()
app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = os.getenv('DATABASE_URI')
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = True
app.register_blueprint(user_bp)
app.register_blueprint(task_bp)