Class: CreateOperatingSystems

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/device_tracker/db/migrate/20150521120335_create_operating_systems.rb

Instance Method Summary collapse

Instance Method Details

#changeObject



2
3
4
5
6
7
# File 'lib/device_tracker/db/migrate/20150521120335_create_operating_systems.rb', line 2

def change
  create_table :operating_systems do |t|
    t.string :name
    t.integer :api_level
  end
end