Update migration
This commit is contained in:
parent
92f6e10304
commit
5e0319f646
|
@ -8,10 +8,10 @@ class CreateImpressionsTable < ActiveRecord::Migration
|
||||||
t.string :action_name
|
t.string :action_name
|
||||||
t.string :view_name
|
t.string :view_name
|
||||||
t.string :request_hash
|
t.string :request_hash
|
||||||
t.string :session_hash
|
|
||||||
t.string :ip_address
|
t.string :ip_address
|
||||||
t.string :message
|
t.string :session_hash
|
||||||
t.string :referrer
|
t.text :message
|
||||||
|
t.text :referrer
|
||||||
t.timestamps
|
t.timestamps
|
||||||
end
|
end
|
||||||
add_index :impressions, [:impressionable_type, :impressionable_id, :request_hash], :name => "poly_request_index", :unique => false
|
add_index :impressions, [:impressionable_type, :impressionable_id, :request_hash], :name => "poly_request_index", :unique => false
|
||||||
|
|
Loading…
Reference in New Issue