Added site aliases. Migrated various scrapers to qu. Added BAM Visions base.
This commit is contained in:
@@ -151,6 +151,11 @@ exports.up = knex => Promise.resolve()
|
||||
.inTable('networks');
|
||||
|
||||
table.string('name');
|
||||
table.string('slug', 32)
|
||||
.unique();
|
||||
|
||||
table.string('alias');
|
||||
|
||||
table.string('url');
|
||||
table.text('description');
|
||||
table.json('parameters');
|
||||
@@ -162,9 +167,6 @@ exports.up = knex => Promise.resolve()
|
||||
table.boolean('scrape')
|
||||
.defaultTo(true);
|
||||
|
||||
table.string('slug', 32)
|
||||
.unique();
|
||||
|
||||
table.datetime('created_at')
|
||||
.defaultTo(knex.fn.now());
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user