Added Blowpass scraper. Split shootId and pageId.
This commit is contained in:
@@ -5,6 +5,8 @@ exports.up = knex => Promise.resolve()
|
||||
table.increments('id', 8);
|
||||
|
||||
table.string('name');
|
||||
table.string('gender', 18);
|
||||
|
||||
table.integer('alias_for', 8)
|
||||
.references('id')
|
||||
.inTable('actors');
|
||||
@@ -58,7 +60,9 @@ exports.up = knex => Promise.resolve()
|
||||
.inTable('sites');
|
||||
|
||||
table.string('shoot_id');
|
||||
table.string('entry_id');
|
||||
table.unique(['site_id', 'shoot_id']);
|
||||
table.unique(['site_id', 'entry_id']);
|
||||
|
||||
table.string('url');
|
||||
table.string('title');
|
||||
@@ -116,4 +120,5 @@ exports.down = knex => Promise.resolve()
|
||||
.then(() => knex.schema.dropTable('sites'))
|
||||
.then(() => knex.schema.dropTable('networks'))
|
||||
.then(() => knex.schema.dropTable('actors'))
|
||||
.then(() => knex.schema.dropTable('directors'))
|
||||
.then(() => knex.schema.dropTable('tags'));
|
||||
|
||||
Reference in New Issue
Block a user