mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-22 19:29:36 +00:00
Extract database and settings modules
This commit is contained in:
@@ -8,7 +8,7 @@ const { deferredToPromise } = require('../deferred_to_promise');
|
||||
|
||||
|
||||
const closeDatabase = ({ Backbone } = {}) =>
|
||||
deferredToPromise(Backbone.sync('closeall'))
|
||||
deferredToPromise(Backbone.sync('closeall'));
|
||||
|
||||
exports.runMigrations = async ({ Backbone, database } = {}) => {
|
||||
if (!isObject(Backbone) || !isObject(Backbone.Collection) ||
|
||||
|
||||
Reference in New Issue
Block a user