20170405123115_create_phone_configs.rb 263 B

1234567891011121314
  1. class CreatePhoneConfigs < ActiveRecord::Migration[5.0]
  2. def change
  3. create_table :phone_configs do |t|
  4. t.string :extension
  5. t.string :phone_mac
  6. t.timestamps
  7. t.index :extension, unique: true
  8. t.index :phone_mac
  9. end
  10. end
  11. end