From de64218230de6ea3e26ca9c8d744a4b82fa75f7e Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Tue, 7 Apr 2020 15:25:39 +0200 Subject: Initialization of Flask-Migrate. --- newspipe/bootstrap.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/newspipe/bootstrap.py b/newspipe/bootstrap.py index e54aad7a..dc233f09 100644 --- a/newspipe/bootstrap.py +++ b/newspipe/bootstrap.py @@ -8,6 +8,7 @@ import logging import os from flask import Flask, request +from flask_migrate import Migrate from flask_talisman import Talisman from flask_babel import Babel, format_datetime from flask_sqlalchemy import SQLAlchemy @@ -66,6 +67,8 @@ set_logging(application.config["LOG_PATH"]) db = SQLAlchemy(application) +migrate = Migrate(application, db) + talisman = Talisman(application, content_security_policy=application.config["CONTENT_SECURITY_POLICY"]) babel = Babel(application) -- cgit