Use rails 4.2 defaults for older migrations

This commit is contained in:
Tom Hughes 2019-04-24 11:05:02 +01:00
parent 784d4ca03d
commit b606acba0c
95 changed files with 95 additions and 95 deletions

View file

@ -1,4 +1,4 @@
class SwitchToPaperclip < ActiveRecord::Migration[5.0]
class SwitchToPaperclip < ActiveRecord::Migration[4.2]
def up
rename_column :users, :image, :image_file_name
end