We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 034db50 commit 61f5707Copy full SHA for 61f5707
install.sh
@@ -69,6 +69,9 @@ else
69
systemctl start postgresql
70
fi
71
72
+echo "Checking if database needs upgrade..."
73
+PYTHONPATH=$INSTALL_DIR/lib python3 $INSTALL_DIR/lib/$APP_NAME/manage.pyc db upgrade --directory $INSTALL_DIR/lib/$APP_NAME/migrations/
74
+
75
76
echo "Starting web server..."
77
src/drovirt/migrations/alembic.ini
@@ -8,6 +8,10 @@
8
# the 'revision' command, regardless of autogenerate
9
# revision_environment = false
10
11
+# set to 'true' to allow .pyc and .pyo files without
12
+# a source .py file to be detected as revisions in the
13
+# versions/ directory
14
+sourceless = true
15
16
# Logging configuration
17
[loggers]
0 commit comments