discourse/db/migrate/20150713203955_enlarge_users_email_field.rb

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

11 lines
235 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class EnlargeUsersEmailField < ActiveRecord::Migration[4.2]
def up
2017-07-28 09:20:09 +08:00
change_column :users, :email, :string, limit: 513
end
def down
2017-07-28 09:20:09 +08:00
change_column :users, :email, :string, limit: 128
end
end