20200407201300_create_unavailable_domains.rb 232 B

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