9 lines
246 B
Ruby
9 lines
246 B
Ruby
|
class CreateJoinTableVendorParticipant < ActiveRecord::Migration[7.1]
|
||
|
def change
|
||
|
create_join_table :vendors, :participants do |t|
|
||
|
# t.index [:vendor_id, :participant_id]
|
||
|
# t.index [:participant_id, :vendor_id]
|
||
|
end
|
||
|
end
|
||
|
end
|