1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-13 22:28:14 +09:00
hotomoe/packages/backend/migration/1696323464251-user-list-membership.js

12 lines
363 B
JavaScript
Raw Normal View History

export class UserListMembership1696323464251 {
name = 'UserListMembership1696323464251'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_list_joining" RENAME TO "user_list_membership"`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_list_membership" RENAME TO "user_list_joining"`);
}
}