houdini/db/migrate/20180215124311_add_card_token_to_ticket.rb
2019-11-14 14:52:29 -06:00

12 lines
310 B
Ruby

# frozen_string_literal: true
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class AddCardTokenToTicket < ActiveRecord::Migration[4.2]
def up
add_column :tickets, :source_token_id, 'uuid'
end
def down
remove_column :tickets, :source_token_id
end
end