Merge pull request #4569 from backstage/freben/nnn

minor typo in migration
This commit is contained in:
Fredrik Adelöw
2021-02-18 11:30:02 +01:00
committed by GitHub
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');