forked from DebaucheryLibrarian/traxxx
Improved media handling, added trailer support. Fetching media from Vixen network frontpages.
This commit is contained in:
@@ -115,14 +115,15 @@ exports.up = knex => Promise.resolve()
|
||||
.then(() => knex.schema.createTable('media', (table) => {
|
||||
table.increments('id', 16);
|
||||
|
||||
table.string('file');
|
||||
table.string('path');
|
||||
table.integer('index');
|
||||
table.string('mime');
|
||||
|
||||
table.enum('domain', ['networks', 'sites', 'releases', 'actors', 'directors']);
|
||||
table.integer('target_id', 16);
|
||||
|
||||
table.enum('role', ['poster', 'logo', 'profile']);
|
||||
table.enum('role', ['photo', 'poster', 'trailer', 'logo', 'profile']);
|
||||
table.string('quality', 6);
|
||||
}))
|
||||
.then(() => knex.schema.createTable('actors_associated', (table) => {
|
||||
table.increments('id', 16);
|
||||
|
||||
Reference in New Issue
Block a user