forked from DebaucheryLibrarian/traxxx
Added dedicated stash page. Using preview tiles for stashes on user page.
This commit is contained in:
@@ -1087,6 +1087,10 @@ exports.up = knex => Promise.resolve()
|
||||
table.unique(['stash_id', 'scene_id']);
|
||||
|
||||
table.string('comment');
|
||||
|
||||
table.datetime('created_at')
|
||||
.notNullable()
|
||||
.defaultTo(knex.fn.now());
|
||||
}))
|
||||
.then(() => knex.schema.createTable('stashes_movies', (table) => {
|
||||
table.integer('stash_id')
|
||||
@@ -1104,6 +1108,10 @@ exports.up = knex => Promise.resolve()
|
||||
table.unique(['stash_id', 'movie_id']);
|
||||
|
||||
table.string('comment');
|
||||
|
||||
table.datetime('created_at')
|
||||
.notNullable()
|
||||
.defaultTo(knex.fn.now());
|
||||
}))
|
||||
.then(() => knex.schema.createTable('stashes_actors', (table) => {
|
||||
table.integer('stash_id')
|
||||
@@ -1121,6 +1129,10 @@ exports.up = knex => Promise.resolve()
|
||||
table.unique(['stash_id', 'actor_id']);
|
||||
|
||||
table.string('comment');
|
||||
|
||||
table.datetime('created_at')
|
||||
.notNullable()
|
||||
.defaultTo(knex.fn.now());
|
||||
}))
|
||||
// SEARCH
|
||||
.then(() => { // eslint-disable-line arrow-body-style
|
||||
|
||||
Reference in New Issue
Block a user