mirror of
https://github.com/mokuappio/serverless-invoices.git
synced 2025-10-29 08:51:07 -04:00
Migration script.
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import localForage from 'localforage';
|
||||
import MigrationService from '@/services/migration.service';
|
||||
import { download } from '../utils/helpers';
|
||||
|
||||
export default {
|
||||
@ -12,6 +13,9 @@ export default {
|
||||
},
|
||||
},
|
||||
actions: {
|
||||
async migrate() {
|
||||
return MigrationService.migrate();
|
||||
},
|
||||
async exportJson() {
|
||||
let results = [];
|
||||
const keys = await localForage.keys();
|
||||
|
||||
Reference in New Issue
Block a user