ffa81260ac
(cherry picked from commit 702a3e86878bc7f210d90f15c4f4417d542ba086)
12 lines
339 B
JavaScript
12 lines
339 B
JavaScript
export class AddEmojiDraftFlag1684236161625 {
|
|
name = 'AddEmojiDraftFlag1684236161625'
|
|
|
|
async up(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "emoji" ADD "draft" boolean NOT NULL DEFAULT false`);
|
|
}
|
|
|
|
async down(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "emoji" DROP COLUMN "draft"`);
|
|
}
|
|
}
|