aboutsummaryrefslogtreecommitdiff
path: root/initdb.py
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-02-11 18:54:56 -0500
committerB. Stack <bgstack15@gmail.com>2022-02-11 18:54:56 -0500
commit6641c28ab2109277ed9e15559d3ecdc10cc5b807 (patch)
tree6b98ea7417647f5e8574df7a9b2b7d69813d5651 /initdb.py
parentfixed deps which means flask 1 (diff)
downloadstackbin-6641c28ab2109277ed9e15559d3ecdc10cc5b807.tar.gz
stackbin-6641c28ab2109277ed9e15559d3ecdc10cc5b807.tar.bz2
stackbin-6641c28ab2109277ed9e15559d3ecdc10cc5b807.zip
Fix dep problem so flask>=2.0.0 now!
By just writing a new initdb command so we don't need manage.py anymore.
Diffstat (limited to 'initdb.py')
-rw-r--r--initdb.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/initdb.py b/initdb.py
new file mode 100644
index 0000000..b56872f
--- /dev/null
+++ b/initdb.py
@@ -0,0 +1,2 @@
+from pastebin import db
+db.create_all()
bgstack15