lib/generators/field_test/templates/memberships.rb.tt in field_test-0.4.0 vs lib/generators/field_test/templates/memberships.rb.tt in field_test-0.4.1
- old
+ new
@@ -3,10 +3,10 @@
create_table :field_test_memberships do |t|
t.string :participant_type
t.string :participant_id
t.string :experiment
t.string :variant
- t.timestamp :created_at
+ t.datetime :created_at
t.boolean :converted, default: false
end
add_index :field_test_memberships, [:participant_type, :participant_id, :experiment],
unique: true, name: "index_field_test_memberships_on_participant"