Compare commits

...

2 Commits

Author SHA1 Message Date
Derek b58d9a3056 *sigh* bump again
i should test better locally
2022-05-21 17:17:18 -04:00
Derek 394c91d385 Allow big files in db 2022-05-21 17:16:48 -04:00
3 changed files with 13 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "misskey",
"version": "12.110.1+birb3-1",
"version": "12.110.1+birb3-2",
"codename": "indigo",
"repository": {
"type": "git",

View File

@ -0,0 +1,11 @@
export class largeFile1653167275806 {
name = 'largeFile1653167275806'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "drive_file" ALTER COLUMN size TYPE bigint`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "drive_file" ALTER COLUMN size TYPE integer`);
}
}

View File

@ -56,7 +56,7 @@ export class DriveFile {
})
public type: string;
@Column('integer', {
@Column('bigint', {
comment: 'The file size (bytes) of the DriveFile.',
})
public size: number;