mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-01 07:11:26 +08:00
11 lines
236 B
Ruby
11 lines
236 B
Ruby
# frozen_string_literal: true
|
|
|
|
class EnlargeUsersEmailField < ActiveRecord::Migration[4.2]
|
|
def up
|
|
change_column :users, :email, :string, limit: 513
|
|
end
|
|
|
|
def down
|
|
change_column :users, :email, :string, limit: 128
|
|
end
|
|
end
|