about summary refs log tree commit diff
path: root/db/migrate/20200407201300_create_unavailable_domains.rb
blob: 56b477da5d2fba35a483110e222b8a86d468a7e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
class CreateUnavailableDomains < ActiveRecord::Migration[5.2]
  def change
    create_table :unavailable_domains do |t|
      t.string :domain, default: '', null: false, index: { unique: true }

      t.timestamps
    end
  end
end