You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
307 B
JavaScript
16 lines
307 B
JavaScript
1 year ago
|
"use strict";
|
||
|
|
||
|
module.exports.up = function(knex, Promise) {
|
||
|
return knex.schema
|
||
|
.alterTable("srap_tags", (table) => {
|
||
|
table.index("item_id");
|
||
|
});
|
||
|
};
|
||
|
|
||
|
module.exports.down = function(knex, Promise) {
|
||
|
return knex.schema
|
||
|
.alterTable("srap_tags", (table) => {
|
||
|
table.dropIndex("item_id");
|
||
|
});
|
||
|
};
|