lib/generators/field_test/templates/memberships.rb in field_test-0.1.2 vs lib/generators/field_test/templates/memberships.rb in field_test-0.2.0
- old
+ new
@@ -8,7 +8,8 @@
t.boolean :converted, default: false
end
add_index :field_test_memberships, [:experiment, :participant], unique: true
add_index :field_test_memberships, :participant
+ add_index :field_test_memberships, [:experiment, :created_at]
end
end