discourse/db/migrate/20140415054717_allow_longer...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
244 B
Ruby
Raw Normal View History

# frozen_string_literal: true
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