Split database migrations into pre- and post-attachment migration
- Run light-weight migrations before attachment migration. - Run regular migrations after attachments have been moved to disk.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
exports.migrations = [
|
||||
{
|
||||
version: 18,
|
||||
async migrate(transaction, next) {
|
||||
console.log('Migration 18');
|
||||
next();
|
||||
},
|
||||
},
|
||||
];
|
Reference in New Issue
Block a user