15 lines
355 B
Ruby
15 lines
355 B
Ruby
require 'carto/db/migration_helper'
|
|
|
|
include Carto::Db::MigrationHelper
|
|
|
|
migration(
|
|
Proc.new do
|
|
add_column :users, :password_reset_token, String, null: true
|
|
add_column :users, :password_reset_sent_at, DateTime, null: true
|
|
end,
|
|
Proc.new do
|
|
drop_column :users, :password_reset_token
|
|
drop_column :users, :password_reset_sent_at
|
|
end
|
|
)
|