discourse/db/migrate/20130426044914_allow_nulls_...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
271 B
Ruby
Raw Normal View History

# 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