Compare commits
2 Commits
48e9f8372b
...
96e368b432
Author | SHA1 | Date |
---|---|---|
|
96e368b432 | 6 months ago |
|
7c60c4fa6b | 6 months ago |
2 changed files with 17 additions and 7 deletions
@ -0,0 +1,15 @@ |
|||
"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"); |
|||
}); |
|||
}; |
Loading…
Reference in new issue