mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2024-12-29 10:56:10 +00:00
Add migrations folder directory
This commit is contained in:
parent
b8846895de
commit
5f58575fd5
|
@ -36,7 +36,7 @@ def create_app(): # pylint: disable=R0914
|
||||||
|
|
||||||
# DATABASE
|
# DATABASE
|
||||||
db.init_app(app)
|
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 database file doesn't exist, create it
|
||||||
if not os.path.exists(os.path.join(INSTACE_DIR, "gallery.sqlite3")):
|
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
|
scripts = Bundle("js/*.js", output="gen/js.js", depends="js/*.js") # filter jsmin is broken :c
|
||||||
styles = Bundle(
|
styles = Bundle(
|
||||||
"sass/*.sass",
|
"sass/style.sass",
|
||||||
filters="libsass, cssmin",
|
filters="libsass, cssmin",
|
||||||
output="gen/styles.css",
|
output="gen/styles.css",
|
||||||
depends="sass/**/*.sass",
|
depends="sass/**/*.sass",
|
||||||
|
|
Loading…
Reference in a new issue