mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 19:30:42 +08:00
7 lines
240 B
Ruby
7 lines
240 B
Ruby
class AllowNullsInIncomingLinks < ActiveRecord::Migration[4.2]
|
|
def change
|
|
change_column :incoming_links, :referer, :string, limit: 1000, null: true
|
|
change_column :incoming_links, :domain, :string, limit: 100, null: true
|
|
end
|
|
end
|