egirlskey/packages/backend/migration/1696323464251-user-list-membership.js
2023-10-13 17:58:11 +02:00

11 lines
363 B
JavaScript

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"`);
}
}