Increase bio char limit

This commit is contained in:
jaina heartles 2024-03-06 17:24:35 -08:00
parent bd11dabf89
commit 4af3b96746
4 changed files with 17 additions and 4 deletions

View file

@ -0,0 +1,13 @@
export class IncreaseBioLimit1709773838671 {
name = "IncreaseBioLimit1709773838671";
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE user_profile ALTER COLUMN description TYPE text;`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE user_profile ALTER COLUMN description TYPE varchar(2048) USING left(description, 2048);`);
}
}