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

      t.timestamps
    end
  end
end