Scraping and storing actor profiles.

This commit is contained in:
2020-05-15 04:40:59 +02:00
parent 11eb66f834
commit 21d4dd6bfa
9 changed files with 311 additions and 25 deletions

View File

@@ -272,7 +272,9 @@ exports.up = knex => Promise.resolve()
.references('id')
.inTable('actors');
table.date('birthdate');
table.date('date_of_birth');
table.date('date_of_death');
table.string('gender', 18);
table.text('description');
@@ -290,7 +292,8 @@ exports.up = knex => Promise.resolve()
table.string('ethnicity');
table.string('bust', 10);
table.string('cup', 4);
table.integer('bust', 3);
table.integer('waist', 3);
table.integer('hip', 3);
table.boolean('natural_boobs');
@@ -330,10 +333,11 @@ exports.up = knex => Promise.resolve()
.references('id')
.inTable('sites');
table.unique(['actor_id', 'network_id']);
table.unique(['actor_id', 'site_id']);
table.unique(['actor_id', 'network_id', 'site_id']);
table.date('date_of_birth');
table.date('date_of_death');
table.date('birthdate');
table.string('gender', 18);
table.text('description');
@@ -351,7 +355,8 @@ exports.up = knex => Promise.resolve()
table.string('ethnicity');
table.string('bust', 10);
table.string('cup', 4);
table.integer('bust', 3);
table.integer('waist', 3);
table.integer('hip', 3);
table.boolean('natural_boobs');