limits username length to 60

This commit is contained in:
kikito
2015-09-09 16:14:19 +02:00
parent a1ede8f9b6
commit 4be475990c
2 changed files with 2 additions and 2 deletions

View File

@@ -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