mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 00:43:39 +08:00
9 lines
204 B
Ruby
9 lines
204 B
Ruby
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
|