1
0
Fork 1
mirror of https://example.com synced 2024-11-23 03:56:39 +09:00
firefish/packages/backend/migration-neko/1699658378432-emojimod-enum-relabel.js

16 lines
396 B
JavaScript
Raw Normal View History

export class EmojimodEnumRelabel1699658378432 {
name = "EmojimodEnumRelabel1699658378432";
async up(queryRunner) {
await queryRunner.query(
`ALTER TYPE "public"."user_emojimodperm_enum" RENAME VALUE 'none' TO 'unauthorized'`,
);
}
async down(queryRunner) {
await queryRunner.query(
`ALTER TYPE "public"."user_emojimodperm_enum" RENAME VALUE 'unauthorized' TO 'none'`,
);
}
}