mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
Update README.md
This commit is contained in:
parent
afb6050eed
commit
04bd33c5f9
@ -56,5 +56,5 @@ npm test
|
|||||||
1. Create `migrations/sql/NNN-your-migration-name.up.sql` with your change in SQL.
|
1. Create `migrations/sql/NNN-your-migration-name.up.sql` with your change in SQL.
|
||||||
2. Create `migrations/sql/NNN-your-migration-name.down.sql` with the rollback of your change in SQL.
|
2. Create `migrations/sql/NNN-your-migration-name.down.sql` with the rollback of your change in SQL.
|
||||||
3. Run `db-migrate create your-migration-name` and edit the generated file to have this line: `module.exports = require('../lib/migrationRunner').create('NNN-your-migration-name');`
|
3. Run `db-migrate create your-migration-name` and edit the generated file to have this line: `module.exports = require('../lib/migrationRunner').create('NNN-your-migration-name');`
|
||||||
4. Run `npm run db-migrate-up`.
|
4. Run `db-migrate up`.
|
||||||
5. Generate LB artifact using `scripts/generate-liquibase-artifact` (TODO: make this internal)
|
5. Generate LB artifact using `scripts/generate-liquibase-artifact` (TODO: make this internal)
|
||||||
|
Loading…
Reference in New Issue
Block a user