feat: add max_upload_size_bytes column and shared type

This commit is contained in:
Jannis Braun
2026-03-23 02:19:42 +01:00
parent 3c2c333a56
commit eb743ca2ca
4 changed files with 9 additions and 0 deletions
+6
View File
@@ -166,6 +166,12 @@ export function runMigrations(db: Database.Database): void {
{ name: 'duration', type: 'REAL' },
]
},
{
name: 'instance_settings',
columns: [
{ name: 'max_upload_size_bytes', type: 'INTEGER' }
]
},
// gif_api_key is handled by migrateRenameGifApiKey() — do NOT add it here
// or it will race with the tenor_api_key → gif_api_key rename migration
];