Sharkey/packages/backend/migration/1696323464251-user-list-membership.js

12 lines
363 B
JavaScript
Raw Normal View History

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