1
0

20161009120834_create_domain_blocks.rb 247 B

12345678910
  1. class CreateDomainBlocks < ActiveRecord::Migration[5.0]
  2. def change
  3. create_table :domain_blocks do |t|
  4. t.string :domain, null: false, default: ''
  5. t.timestamps
  6. end
  7. add_index :domain_blocks, :domain, unique: true
  8. end
  9. end