Skip to content

Commit 4a90042

Browse files
committed
Redo isEnabled migration
1 parent db7f688 commit 4a90042

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/* eslint-disable camelcase */
2+
3+
exports.shorthands = undefined;
4+
5+
exports.up = (pgm) => {
6+
pgm.sql(`
7+
ALTER TABLE public.feature_flag
8+
ADD COLUMN is_enabled boolean NOT NULL DEFAULT false;
9+
`);
10+
};
11+
12+
exports.down = (pgm) => {
13+
pgm.sql(`
14+
ALTER TABLE public.feature_flag
15+
DROP COLUMN is_enabled;
16+
`);
17+
};

0 commit comments

Comments
 (0)