discourse/db/migrate/20150713203955_enlarge_users_email_field.rb
2017-07-28 10:20:09 +09:00

9 lines
199 B
Ruby

class EnlargeUsersEmailField < ActiveRecord::Migration
def up
change_column :users, :email, :string, limit: 513
end
def down
change_column :users, :email, :string, limit: 128
end
end