feat: add width, height, duration columns to attachments schema
This commit is contained in:
@@ -157,6 +157,14 @@ export function runMigrations(db: Database.Database): void {
|
||||
{ name: 'show_activity', type: 'INTEGER NOT NULL DEFAULT 1' },
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'attachments',
|
||||
columns: [
|
||||
{ name: 'width', type: 'INTEGER' },
|
||||
{ name: 'height', type: 'INTEGER' },
|
||||
{ name: 'duration', type: 'REAL' },
|
||||
]
|
||||
},
|
||||
// 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
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user