Files
old-holivud2/db/migrate/20200706230803_add_token_to_casting_call_interviews.rb
Senad Uka da8e187430 Cast me
2020-07-15 11:57:21 +02:00

7 lines
210 B
Ruby

class AddTokenToCastingCallInterviews < ActiveRecord::Migration[6.0]
def change
add_column :casting_call_interviews, :token, :string
add_index :casting_call_interviews, :token, unique: true
end
end