crowd.dev edition
Community (self hosted)
Version
Latest (main branch)
What happened?
In scripts/cli, the create_migration() and
create_product_migration() functions have two bugs:
- Final output prints
$MIG_FILE which is never defined —
should be $UP_MIG_FILE and $DOWN_MIG_FILE
- No validation if migration name argument is empty,
which silently creates broken files like V123456__ .sql
Command / Request
./scripts/cli create_migration
Relevant log output
Created
# Empty output because $MIG_FILE is undefined
# Also creates a migration file with no name
crowd.dev edition
Community (self hosted)
Version
Latest (main branch)
What happened?
In
scripts/cli, thecreate_migration()andcreate_product_migration()functions have two bugs:$MIG_FILEwhich is never defined —should be
$UP_MIG_FILEand$DOWN_MIG_FILEwhich silently creates broken files like
V123456__ .sqlCommand / Request
Relevant log output