mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 19:00:44 +08:00
10 lines
208 B
Ruby
10 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
|