minor typo in migration
This commit is contained in:
@@ -77,7 +77,7 @@ exports.up = async function up(knex) {
|
||||
exports.down = async function down(knex) {
|
||||
if (knex.client.config.client !== 'sqlite3') {
|
||||
await knex.schema.alterTable('task_events', table => {
|
||||
table.dropIndex([], 'ctask_events_task_id_idx');
|
||||
table.dropIndex([], 'task_events_task_id_idx');
|
||||
});
|
||||
}
|
||||
await knex.schema.dropTable('task_events');
|
||||
|
||||
Reference in New Issue
Block a user