add_signup_language_index migration
This commit is contained in:
Родитель
bdc0c93df6
Коммит
1e04f9371c
|
@ -0,0 +1,14 @@
|
|||
"use strict";
|
||||
|
||||
|
||||
exports.up = function(knex) {
|
||||
return knex.schema.table("subscribers", table => {
|
||||
table.index("signup_language", "subscribers_signup_language_idx");
|
||||
});
|
||||
};
|
||||
|
||||
exports.down = function(knex) {
|
||||
return knex.schema.table("email_addresses", table => {
|
||||
table.dropIndex("signup_language", "subscribers_signup_language_idx");
|
||||
});
|
||||
};
|
Загрузка…
Ссылка в новой задаче