ActiveRecord::Migration
# File db/migrate/20120328061006_create_devices.rb, line 2 def change create_table :devices do |t| t.string :name t.integer :device_type_id t.integer :location_id t.boolean :active t.float :default_value t.timestamps end end