corrected fix for migration

Signed-off-by: Billy Stalnaker <bstalnaker@roadie.com>
This commit is contained in:
Billy Stalnaker
2025-03-24 15:21:11 -04:00
parent 5c6c1485c6
commit d4342e85be
@@ -19,7 +19,7 @@ exports.up = async function up(knex) {
});
await knex.schema.table('user_settings', table => {
table.dropUnique(['user', 'channel', 'origin']);
table.dropUnique('user_settings_unique_idx');
});
await knex.schema.alterTable('user_settings', table => {
@@ -31,7 +31,7 @@ exports.up = async function up(knex) {
exports.down = async function down(knex) {
await knex.schema.table('user_settings', table => {
table.dropUnique(['user', 'channel', 'origin', 'topic']);
table.dropUnique('user_settings_unique_idx');
});
await knex.schema.alterTable('user_settings', table => {