mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
862a6696c0
allow longer usernames (up to 60)
9 lines
208 B
Ruby
9 lines
208 B
Ruby
class AllowLongerUsernames < ActiveRecord::Migration
|
|
def up
|
|
change_column :users, :username, :string, limit: 60
|
|
change_column :users, :username_lower, :string, limit: 60
|
|
end
|
|
|
|
def down
|
|
end
|
|
end
|