2017-08-31 00:06:56 -04:00
|
|
|
class EnlargeUsersEmailField < ActiveRecord::Migration[4.2]
|
2015-07-13 16:40:52 -04:00
|
|
|
def up
|
2017-07-27 21:20:09 -04:00
|
|
|
change_column :users, :email, :string, limit: 513
|
2015-07-13 16:40:52 -04:00
|
|
|
end
|
|
|
|
def down
|
2017-07-27 21:20:09 -04:00
|
|
|
change_column :users, :email, :string, limit: 128
|
2015-07-13 16:40:52 -04:00
|
|
|
end
|
|
|
|
end
|