1
0

20161009120834_create_domain_blocks.rb 278 B

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