076b2d4e6c
we can change the 8192 to something else, but 512 is too short ☺
12 lines
415 B
JavaScript
12 lines
415 B
JavaScript
export class largerImageComment1680969937000 {
|
|
name = 'largerImageComment1680969937000';
|
|
|
|
async up(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "drive_file" ALTER COLUMN "comment" TYPE character varying(8192)`, undefined);
|
|
}
|
|
|
|
async down(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "drive_file" ALTER COLUMN "comment" TYPE character varying(512)`, undefined);
|
|
}
|
|
|
|
}
|