Refactored update scraper into new module.

This commit is contained in:
2020-03-14 02:56:28 +01:00
parent 4fc0053bd9
commit c8ebe7892a
6 changed files with 263 additions and 35 deletions

View File

@@ -162,10 +162,9 @@ exports.up = knex => Promise.resolve()
table.integer('priority', 3)
.defaultTo(0);
table.boolean('show')
.defaultTo(true);
table.boolean('scrape')
.defaultTo(true);
table.datetime('created_at')
.defaultTo(knex.fn.now());