class CreateActions

Public Instance Methods

change() click to toggle source
# File db/migrate/20120328061528_create_actions.rb, line 2
def change
  create_table :actions do |t|
    t.integer :device_id
    t.integer :action_set_id
    t.float :value
    t.float :duration
    t.string :json_data

    t.timestamps
  end
end