Skip to content
Snippets Groups Projects
Commit 2dab443f authored by Piotr Gawron's avatar Piotr Gawron
Browse files

when installing debian package from scratch use flyway for migration management

parent 2d5cbe03
No related branches found
No related tags found
1 merge request!368fresh install of debian package uses flyway
......@@ -27,12 +27,6 @@ case "$1" in
if [ "$OLD_VERSION" = "" ]
then
create_db
#install base version of the framework
exec_sql_file "$DB_SCRIPT_DIR/db_0.sql"
#install patch to current version
exec_sql_file "$DB_SCRIPT_DIR/db_0_to_${MAX_DB_VERSION_FOR_MIGRTION}.sql"
else
#if we update the package
if [ -f $DB_SCRIPT_DIR/db_${OLD_VERSION}_to_${MAX_DB_VERSION_FOR_MIGRTION}.sql ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment