-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Brijesh
committed
Aug 21, 2023
1 parent
d3b53a1
commit 3edb367
Showing
4 changed files
with
18 additions
and
6 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
src/libs/db2/migrations/20230821125001_add_manual_confirmation_column.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
exports.up = async function(knex) { | ||
await knex.raw(` | ||
ALTER TABLE plan_confirmation ADD is_manual_confirmation boolean NULL DEFAULT false; | ||
`); | ||
|
||
}; | ||
|
||
exports.down = async function(knex) { | ||
await knex.raw(` | ||
ALTER TABLE plan_confirmation DROP COLUMN is_manual_confirmation; | ||
`); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters