minor typo in migration

This commit is contained in:
Fredrik Adelöw
2021-02-18 10:46:55 +01:00
parent 644a05e3a2
commit 0ada34a0f8
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
Minor typo in migration
@@ -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');