discourse/db/migrate/20140415054717_allow_longer_usernames.rb
Sam 862a6696c0 Correct annotations
allow longer usernames (up to 60)
2014-04-15 15:53:48 +10:00

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