From 5f58575fd5ba875f0b824ff8a9569f7cb8697491 Mon Sep 17 00:00:00 2001 From: Fluffy-Bean Date: Thu, 20 Apr 2023 13:57:03 +0000 Subject: [PATCH] Add migrations folder directory --- onlylegs/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onlylegs/__init__.py b/onlylegs/__init__.py index 85d40ee..7d1a472 100644 --- a/onlylegs/__init__.py +++ b/onlylegs/__init__.py @@ -36,7 +36,7 @@ def create_app(): # pylint: disable=R0914 # DATABASE db.init_app(app) - migrate.init_app(app, db) + migrate.init_app(app, db, directory=MIGRATIONS_DIR) # If database file doesn't exist, create it if not os.path.exists(os.path.join(INSTACE_DIR, "gallery.sqlite3")): @@ -108,7 +108,7 @@ def create_app(): # pylint: disable=R0914 scripts = Bundle("js/*.js", output="gen/js.js", depends="js/*.js") # filter jsmin is broken :c styles = Bundle( - "sass/*.sass", + "sass/style.sass", filters="libsass, cssmin", output="gen/styles.css", depends="sass/**/*.sass",