2018-05-07 16:47:29 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
2017-07-10 20:43:27 +05:30
|
|
|
class AddIndexToPhysicalTickets < ActiveRecord::Migration
|
|
|
|
|
def change
|
|
|
|
|
add_column :physical_tickets, :token, :string
|
|
|
|
|
add_index :physical_tickets, :token, unique: true
|
|
|
|
|
end
|
|
|
|
|
end
|