mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-10 14:52:51 +02:00
Put umzug in server/libs and remove unneeded dependencies from it
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.memoryStorage = void 0;
|
||||
const memoryStorage = () => {
|
||||
let executed = [];
|
||||
return {
|
||||
async logMigration({ name }) {
|
||||
executed.push(name);
|
||||
},
|
||||
async unlogMigration({ name }) {
|
||||
executed = executed.filter(n => n !== name);
|
||||
},
|
||||
executed: async () => [...executed],
|
||||
};
|
||||
};
|
||||
exports.memoryStorage = memoryStorage;
|
||||
//# sourceMappingURL=memory.js.map
|
||||
Reference in New Issue
Block a user