Add Flask Migrate and update run.sh

This commit is contained in:
Michał Gdula 2023-05-15 22:44:03 +03:00
parent 77c0711a24
commit 36be8993df
8 changed files with 37 additions and 30 deletions

View file

@ -1,7 +1,9 @@
from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
from flask_caching import Cache
from flask_assets import Environment
db = SQLAlchemy()
migrate = Migrate()
cache = Cache()
assets = Environment()