20200407201300_create_unavailable_domains.rb 263 B

1234567891011
  1. # frozen_string_literal: true
  2. class CreateUnavailableDomains < ActiveRecord::Migration[5.2]
  3. def change
  4. create_table :unavailable_domains do |t|
  5. t.string :domain, default: '', null: false, index: { unique: true }
  6. t.timestamps
  7. end
  8. end
  9. end