mirror of
https://example.com
synced 2024-11-26 15:56:41 +09:00
16 lines
396 B
JavaScript
16 lines
396 B
JavaScript
|
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'`,
|
||
|
);
|
||
|
}
|
||
|
}
|