discourse/db/migrate/20150713203955_enlarge_user...

Failed to ignore revisions in .git-blame-ignore-revs.

11 lines
235 B
Ruby
Raw Normal View History

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