- todo: added priority, expired, pos fields.

- todo: delete item.
- sorted by fields.
This commit is contained in:
Paolo Arena
2019-01-14 22:40:30 +01:00
parent 3613560c97
commit 2984f20b58
29 changed files with 1025 additions and 26 deletions

View File

@@ -6,11 +6,14 @@ export default ({ Vue }) => {
// Insert here the database for IndexDB
new VueIdb({
version: 1,
database: 'test',
schemas: [
{ categories: '++id, sub_categ_id, descr_it' }
]
{ categories: '++id, sub_categ_id, descr_it, campo2bool, campo3bool' },
{ todos: '++id, userId, pos, descr, priority, completed, created_at, modify_at, expiring_at' }
],
options: {
todos: { type: 'list', primary: 'pos', label: 'label', updated_at: 'updated_at' },
}
})
}