mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03:00
Removed stray code
refs 77a5ea5659
- This part was misscommited, wasn't meant for main
This commit is contained in:
parent
77a5ea5659
commit
bfb899b293
@ -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 = {
|
module.exports = {
|
||||||
addTable,
|
addTable,
|
||||||
dropTables,
|
dropTables,
|
||||||
@ -421,7 +409,6 @@ module.exports = {
|
|||||||
combineNonTransactionalMigrations,
|
combineNonTransactionalMigrations,
|
||||||
createAddColumnMigration,
|
createAddColumnMigration,
|
||||||
createDropColumnMigration,
|
createDropColumnMigration,
|
||||||
createAddSettingMigration,
|
|
||||||
meta: {
|
meta: {
|
||||||
MIGRATION_USER
|
MIGRATION_USER
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user