Sharkey/packages/backend/migration/1696323464251-user-list-mem...

12 lines
363 B
JavaScript
Raw Normal View History

2023-10-03 04:26:11 -07:00
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"`);
}
}