20151110174318_create_units.rb 183 B

12345678910
  1. class CreateUnits < ActiveRecord::Migration
  2. def change
  3. create_table :units do |t|
  4. t.string :unit
  5. t.integer :status
  6. t.timestamps null: false
  7. end
  8. end
  9. end