From bfb899b29334bea20944a72c6d73453af6e34def Mon Sep 17 00:00:00 2001 From: Naz Date: Wed, 14 Jul 2021 11:51:14 +0400 Subject: [PATCH] Removed stray code refs https://github.com/TryGhost/Ghost/commit/77a5ea5659e657e461274da5d7619cb94d1ab502 - This part was misscommited, wasn't meant for main --- core/server/data/migrations/utils.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/core/server/data/migrations/utils.js b/core/server/data/migrations/utils.js index faad62dda1..cbbbc58393 100644 --- a/core/server/data/migrations/utils.js +++ b/core/server/data/migrations/utils.js @@ -396,18 +396,6 @@ function createDropColumnMigration(table, column, columnDefinition) { ); } -function createAddSettingMigration(setting) { - // return createTransactionalMigration( - // // up - // commands.createSettingMigration{ - // dbIsInCorrectState: hasKey => hasKey === false, - // operation: commands.addSetting, - // operationVerb: 'Adding' - // }), - // // down migration doesn't work until we stop - // ) -} - module.exports = { addTable, dropTables, @@ -421,7 +409,6 @@ module.exports = { combineNonTransactionalMigrations, createAddColumnMigration, createDropColumnMigration, - createAddSettingMigration, meta: { MIGRATION_USER }