diff --git a/apps/acme-assist/generate_db_migration.py b/apps/acme-assist/data/generate_db_migration.py similarity index 100% rename from apps/acme-assist/generate_db_migration.py rename to apps/acme-assist/data/generate_db_migration.py diff --git a/apps/acme-assist/prepare_data.sh b/apps/acme-assist/prepare_data.sh index 31626d0b..f5c04646 100644 --- a/apps/acme-assist/prepare_data.sh +++ b/apps/acme-assist/prepare_data.sh @@ -1,7 +1,7 @@ #!/bin/sh INITIAL_WORKING_DIRECTORY=$(pwd) cd "$(dirname "$0")" -python ./generate_db_migration.py > ./V1_1__insert_products.sql +python ./data/generate_db_migration.py > ./V1_1__insert_products.sql mv ./*.sql ../acme-catalog/src/main/resources/db/migration cp ./data/images/* ../acme-catalog/src/main/resources/static/ cd $INITIAL_WORKING_DIRECTORY \ No newline at end of file