limits username length to 60
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class SetUsernameLimit < ActiveRecord::Migration
|
||||
def change
|
||||
change_column :users, :username, :string, limit: 200
|
||||
change_column :users, :username, :string, limit: 60
|
||||
end
|
||||
end
|
||||
|
||||
@@ -224,7 +224,7 @@ ActiveRecord::Schema.define(version: 20150909135032) do
|
||||
t.integer "official_level", default: 0
|
||||
t.datetime "hidden_at"
|
||||
t.string "sms_confirmation_code"
|
||||
t.string "username", limit: 200
|
||||
t.string "username", limit: 60
|
||||
t.string "document_number"
|
||||
t.string "document_type"
|
||||
t.datetime "residence_verified_at"
|
||||
|
||||
Reference in New Issue
Block a user