mirror of
https://github.com/discourse/discourse.git
synced 2025-02-03 13:29:30 +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
|