6 lines
157 B
Ruby
6 lines
157 B
Ruby
|
class AddWorkerToParticipants < ActiveRecord::Migration[7.1]
|
||
|
def change
|
||
|
add_reference :participants, :worker, null: false, foreign_key: true
|
||
|
end
|
||
|
end
|