Reworked tag matching. Added tag filter groundwork.
This commit is contained in:
@@ -34,7 +34,7 @@ exports.up = knex => Promise.resolve()
|
||||
}))
|
||||
.then(() => knex.schema.createTable('tags', (table) => {
|
||||
table.increments('id', 12);
|
||||
table.string('tag');
|
||||
table.string('name');
|
||||
|
||||
table.integer('group_id', 12)
|
||||
.references('id')
|
||||
@@ -53,6 +53,7 @@ exports.up = knex => Promise.resolve()
|
||||
table.string('name');
|
||||
table.string('url');
|
||||
table.text('description');
|
||||
table.enum('orientation', ['gay', 'bi', 'lesbian', 'trans']);
|
||||
|
||||
table.string('slug', 32)
|
||||
.unique();
|
||||
@@ -68,6 +69,7 @@ exports.up = knex => Promise.resolve()
|
||||
table.string('name');
|
||||
table.string('url');
|
||||
table.text('description');
|
||||
table.enum('orientation', ['gay', 'bi', 'lesbian', 'trans']);
|
||||
table.string('parameters');
|
||||
|
||||
table.string('slug', 32)
|
||||
@@ -107,6 +109,7 @@ exports.up = knex => Promise.resolve()
|
||||
table.integer('rating')
|
||||
.unsigned();
|
||||
|
||||
table.enum('orientation', ['gay', 'bi', 'lesbian', 'trans']);
|
||||
table.boolean('deep');
|
||||
|
||||
table.datetime('created_at')
|
||||
|
||||
Reference in New Issue
Block a user