Fixing migration script generation paths (#10664)

feature/default_network_editable
ryanml 4 years ago committed by GitHub
parent 5a233e4634
commit 88ad383722
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      development/generate-migration.sh

@ -8,8 +8,8 @@ g-migration() {
touch app/scripts/migrations/"$vnum".js touch app/scripts/migrations/"$vnum".js
cp app/scripts/migrations/template.js app/scripts/migrations/"$vnum".js cp app/scripts/migrations/template.js app/scripts/migrations/"$vnum".js
touch test/unit/migrations/"$vnum".js touch app/scripts/migrations/"$vnum".test.js
cp test/unit/migrations/template-test.js test/unit/migrations/"$vnum"-test.js cp app/scripts/migrations/template.test.js app/scripts/migrations/"$vnum".test.js
} }
g-migration "$1" g-migration "$1"

Loading…
Cancel
Save