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