mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
8 lines
216 B
Ruby
8 lines
216 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddIndexToPhysicalTickets < ActiveRecord::Migration
|
|
def change
|
|
add_column :physical_tickets, :token, :string
|
|
add_index :physical_tickets, :token, unique: true
|
|
end
|
|
end
|