discourse/db/migrate/20130426044914_allow_nulls_...

9 lines
271 B
Ruby

# frozen_string_literal: true
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