mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2025-08-31 14:43:59 +00:00
12 lines
363 B
JavaScript
12 lines
363 B
JavaScript
export class SplitDescriptions1752607599852 {
|
|
name = 'SplitDescriptions1752607599852'
|
|
|
|
async up(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "meta" ADD COLUMN "about" TEXT`);
|
|
await queryRunner.query(`UPDATE "meta" SET "about" = "description"`);
|
|
}
|
|
|
|
async down(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "about"`);
|
|
}
|
|
}
|