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
|
||||
|
||||
Reference in New Issue
Block a user