Update migration

This commit is contained in:
Erik Michaels-Ober 2012-03-06 15:24:00 -08:00
parent 92f6e10304
commit 5e0319f646
1 changed files with 3 additions and 3 deletions

View File

@ -8,10 +8,10 @@ class CreateImpressionsTable < ActiveRecord::Migration
t.string :action_name
t.string :view_name
t.string :request_hash
t.string :session_hash
t.string :ip_address
t.string :message
t.string :referrer
t.string :session_hash
t.text :message
t.text :referrer
t.timestamps
end
add_index :impressions, [:impressionable_type, :impressionable_id, :request_hash], :name => "poly_request_index", :unique => false