db/seeds.rb in geoblacklight_admin-0.5.1 vs db/seeds.rb in geoblacklight_admin-0.6.0
- old
+ new
@@ -21,7 +21,12 @@
# FormElements
CSV.foreach(File.expand_path('seeds_form_elements.csv', File.dirname(__FILE__)), headers: true) do |row|
FormElement.create!(row.to_hash)
end
+# Reference Types
+CSV.foreach(File.expand_path('seeds_reference_types.csv', File.dirname(__FILE__)), headers: true) do |row|
+ ReferenceType.create!(row.to_hash)
+end
+
# Users
User.create(email: 'admin@geoblacklight.org', password: '123456', password_confirmation: '123456', admin: true)