DEV: organise fixture so all drops happen at the end

This commit is contained in:
Sam
2018-06-07 15:53:31 +10:00
parent 1e805cfd3e
commit 24c7d2913b
7 changed files with 153 additions and 155 deletions

View File

@@ -17,12 +17,3 @@ if !Theme.exists?
default_theme.set_default!
end
Migration::ColumnDropper.drop(
table: 'theme_fields',
after_migration: 'AddUploadIdToThemeFields',
columns: ['target'],
on_drop: ->() {
STDERR.puts 'Removing superflous theme_fields target column!'
}
)