class UpgradeGarlandV0ToV1

Public Instance Methods

change() click to toggle source
# File lib/generators/garland_rails/templates/v0_to_v1_migration.rb, line 2
def change
  rename_column :garlands, :next, :next_id
  rename_column :garlands, :previous, :previous_id
end