houdini/db/migrate/20180215124311_add_card_token_to_ticket.rb
2019-08-02 19:07:29 +02:00

12 lines
305 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
def up
add_column :tickets, :source_token_id, 'uuid'
end
def down
remove_column :tickets, :source_token_id
end
end