Files
discourse/db/migrate/20140415054717_allow_longer_usernames.rb
2017-09-25 13:48:58 +08:00

10 lines
213 B
Ruby

class AllowLongerUsernames < ActiveRecord::Migration[4.2]
def up
change_column :users, :username, :string, limit: 60
change_column :users, :username_lower, :string, limit: 60
end
def down
end
end