Начало работы над BookUpdateChecker

This commit is contained in:
Book Pauk
2022-07-16 13:16:57 +07:00
parent 97fc902cdb
commit 5ccfe71c55
9 changed files with 150 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
module.exports = {
up: [
['create', {
table: 'checked',
index: [
{field: 'queryTime', type: 'number'},
{field: 'checkTime', type: 'number'},
]
}],
],
down: [
['drop', {
table: 'checked'
}],
]
};

View File

@@ -0,0 +1,6 @@
module.exports = {
table: 'migration1',
data: [
{id: 1, name: 'create', data: require('./001-create')}
]
}

View File

@@ -1,4 +1,4 @@
module.exports = {
//'app': require('./jembaMigrations/app'),
'reader-storage': require('./reader-storage'),
'book-update-server': require('./book-update-server'),
};