20190705002136_create_domain_allows.rb 220 B

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