Nessuna descrizione http://j1x-huginn.herokuapp.com

20121216025930_create_events.rb 403B

    class CreateEvents < ActiveRecord::Migration def change create_table :events do |t| t.integer :user_id t.integer :agent_id t.decimal :lat, :precision => 15, :scale => 10 t.decimal :lng, :precision => 15, :scale => 10 t.text :payload t.timestamps end add_index :events, [:user_id, :created_at] add_index :events, [:agent_id, :created_at] end end