Explorar o código

Fix user migration - single name field

Miguel %!s(int64=6) %!d(string=hai) anos
pai
achega
12c8c759c9
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      template.rb

+ 1 - 2
template.rb

@@ -33,8 +33,7 @@ def add_users
 
   # Create Devise User
   generate :devise, "User",
-           "first_name",
-           "last_name",
+           "name",
            "announcements_last_read_at:datetime",
            "admin:boolean"