Skip to content

Commit

Permalink
rename version of the migration files to 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
luissian committed Aug 7, 2023
1 parent 1adc63d commit 37ac120
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -502,11 +502,11 @@ if [ $upgrade == true ]; then

# copy modified migration files
echo "Copying custom migration files from conf."
cp $INSTALL_PATH/conf/0002_core_migration_v2.3.1.py $INSTALL_PATH/core/migrations/0002_migration_v2_3_1.py
cp $INSTALL_PATH/conf/0002_drylab_migration_v2.3.1.py $INSTALL_PATH/drylab/migrations/0002_migration_v2_3_1.py
cp $INSTALL_PATH/conf/0002_wetlab_migration_v2.3.1.py $INSTALL_PATH/wetlab/migrations/0002_migration_v2_3_1.py
cp $INSTALL_PATH/conf/0002_core_migration_v3.0.0.py $INSTALL_PATH/core/migrations/0002_migration_v3_0_0.py
cp $INSTALL_PATH/conf/0002_drylab_migration_v3.0.0.py $INSTALL_PATH/drylab/migrations/0002_migration_v3_0_0.py
cp $INSTALL_PATH/conf/0002_wetlab_migration_v3.0.0.py $INSTALL_PATH/wetlab/migrations/0002_migration_v3_0_0.py
# cp conf/0002_clinic_migration_v2.3.1.py clinic/migrations/0002_migration_v2_3_1.py
cp $INSTALL_PATH/conf/0002_django_utils_migration_v2.3.1.py $INSTALL_PATH/django_utils/migrations/0002_migration_v2_3_1.py
cp $INSTALL_PATH/conf/0002_django_utils_migration_v3.0.0.py $INSTALL_PATH/django_utils/migrations/0002_migration_v3_0_0.py

read -p "Do you want to proceed with the migrate command? (Y/N) " -n 1 -r
echo # (optional) move to a new line
Expand Down

0 comments on commit 37ac120

Please sign in to comment.