CreateGatheringWaiverActivities
extends BaseMigration
in package
CreateGatheringWaiverActivities Migration
Creates the waivers_gathering_waiver_activities table for associating uploaded waivers with the specific activities they cover (many-to-many join table).
This migration creates:
- Table: waivers_gathering_waiver_activities
- Foreign keys to gathering_waivers and gathering_activities
- Unique constraint on waiver-activity combination
- Indexes for efficient querying
Table of Contents
Properties
- $autoId : bool
Methods
- change() : void
- Change Method.
Properties
$autoId
public
bool
$autoId
= \false
Methods
change()
Change Method.
public
change() : void
Creates the waivers_gathering_waiver_activities join table.
This table enables the many-to-many relationship between waivers and activities:
- One waiver can cover multiple activities (general waiver)
- One activity can have multiple waivers (different participants)
- Prevents duplicate waiver-activity associations