db/seeds.rb in faalis_contacts-0.4.0 vs db/seeds.rb in faalis_contacts-0.4.1
- old
+ new
@@ -1,9 +1,8 @@
-ContactField.create(name: "Phone")
-ContactField.create(name: "Email")
-ContactField.create(name: "IM")
-ContactField.create(name: "Address")
-ContactField.create(name: "Zip Code")
-
+ContactField.create(name: "Phone", value_type: "string")
+ContactField.create(name: "Email", value_type: "email")
+ContactField.create(name: "IM", value_type: "string")
+ContactField.create(name: "Address", value_type: "string")
+ContactField.create(name: "Zip Code", value_type: "string")
ContactType.create(name: "Home")
ContactType.create(name: "Office")