Added avatars. Added PornHub and LegalPorno actor profile scrapers.

This commit is contained in:
2019-11-20 04:53:36 +01:00
parent a13d92b84e
commit 9fcc40dd17
13 changed files with 475 additions and 63 deletions

View File

@@ -18,11 +18,13 @@ exports.up = knex => Promise.resolve()
table.date('birthdate');
table.string('gender', 18);
table.text('description');
table.string('birth_country_alpha2', 2)
.references('alpha2')
.inTable('countries');
table.string('ethnicity');
table.string('birth_place');
table.string('residence_country_alpha2', 2)
@@ -31,18 +33,18 @@ exports.up = knex => Promise.resolve()
table.string('residence_place');
table.string('ethnicity');
table.integer('height');
table.string('eyes');
table.string('boobs_size');
table.boolean('boobs_natural');
table.string('piercings');
table.string('tattoos');
table.integer('height', 3);
table.integer('weight', 3);
table.string('eyes');
table.string('hair');
table.text('description');
table.boolean('active');
table.boolean('has_tattoos');
table.boolean('has_piercings');
table.string('piercings');
table.string('tattoos');
table.integer('alias_for', 12)
.references('id')
@@ -217,6 +219,8 @@ exports.up = knex => Promise.resolve()
table.string('hash');
table.string('source', 1000);
table.unique(['domain', 'target_id', 'role', 'hash']);
table.datetime('created_at')
.defaultTo(knex.fn.now());
}))