link-share/db/migrate/20150721201947_change_link_to_url.rb

5 lines
114 B
Ruby

class ChangeLinkToUrl < ActiveRecord::Migration[4.2]
def change
rename_column :links, :link, :url
end
end