Adapted Score scraper for 18eighteen, 40 Something Mag and 50 Plus Milfs. Updated Score network logo and favicon.

This commit is contained in:
2020-02-03 02:57:53 +01:00
parent dfa0183669
commit 5bae5b6e5f
9 changed files with 42 additions and 21 deletions

View File

@@ -142,6 +142,11 @@ exports.up = knex => Promise.resolve()
table.text('description');
table.string('parameters');
table.integer('priority', 3)
.defaultTo(0);
table.boolean('enabled')
.defaultTo(true);
table.string('slug', 32)
.unique();

View File

@@ -1,10 +0,0 @@
exports.up = async knex => Promise.resolve()
.then(() => knex.schema.table('sites', (table) => {
table.integer('priority', 3)
.defaultTo(0);
}));
exports.down = async knex => Promise.resolve()
.then(() => knex.schema.table('sites', (table) => {
table.dropColumn('priority');
}));