discourse/db/migrate/20130426044914_allow_nulls_in_incoming_links.rb
Sam f9e33ec6b8 store ip address and current user with incoming links
make links long an readable in share dialog
2013-04-26 16:18:55 +10:00

7 lines
233 B
Ruby

class AllowNullsInIncomingLinks < ActiveRecord::Migration
def change
change_column :incoming_links, :referer, :string, limit:1000, null: true
change_column :incoming_links, :domain, :string, limit:100, null: true
end
end