discourse/db/migrate/20130426044914_allow_nulls_...

9 lines
271 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class AllowNullsInIncomingLinks < ActiveRecord::Migration[4.2]
def change
2017-07-27 21:20:09 -04:00
change_column :incoming_links, :referer, :string, limit: 1000, null: true
change_column :incoming_links, :domain, :string, limit: 100, null: true
end
end