mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 12:35:12 +08:00
7 lines
235 B
Ruby
7 lines
235 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
|