Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add timestamps to migration

  • Loading branch information...
commit 06773c1b6c34e6423f6c39f7a5e88f6051620dfe 1 parent 19d9260
Ariel Salomon authored sideshowbandana committed
View
1  generators/templates/vanity_migration.rb
@@ -35,6 +35,7 @@ def self.up
t.integer :shown
t.integer :seen
t.integer :converted
+ t.timestamps
end
add_index :vanity_participants, [:vanity_experiment_id, :identity], :name => "by_experiment_id_and_identity"
add_index :vanity_participants, [:vanity_experiment_id, :shown], :name => "by_experiment_id_and_shown"
View
1  lib/generators/templates/vanity_migration.rb
@@ -35,6 +35,7 @@ def self.up
t.integer :shown
t.integer :seen
t.integer :converted
+ t.timestamps
end
add_index :vanity_participants, [:vanity_experiment_id, :identity], :name => "by_experiment_id_and_identity"
add_index :vanity_participants, [:vanity_experiment_id, :shown], :name => "by_experiment_id_and_shown"
Please sign in to comment.
Something went wrong with that request. Please try again.