Remove hard-coded database connection settings
This commit is contained in:
parent
1df6dc8378
commit
eca930770c
3 changed files with 32 additions and 11 deletions
|
@ -87,7 +87,13 @@
|
|||
await Migrations0DatabaseWithAttachmentData.run({ Backbone });
|
||||
|
||||
console.log('Migrate attachments to disk');
|
||||
await MessageDataMigrator.processAll({ Backbone, upgradeMessageSchema });
|
||||
const database = Migrations0DatabaseWithAttachmentData.getDatabase();
|
||||
await MessageDataMigrator.processAll({
|
||||
Backbone,
|
||||
databaseName: database.name,
|
||||
databaseVersion: database.version,
|
||||
upgradeMessageSchema,
|
||||
});
|
||||
|
||||
console.log('Migrate database without attachments');
|
||||
await Migrations1DatabaseWithoutAttachmentData.run({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue