MakeEventIdNullableInRecommendationsEvents
extends BaseMigration
in package
Make event_id nullable in awards_recommendations_events table
This allows the join table to store either Event or Gathering relationships without requiring both. This is needed because the Gatherings belongsToMany relationship inserts rows with only recommendation_id and gathering_id, leaving event_id as NULL.
Table of Contents
Methods
- change() : void
- Change Method.
Methods
change()
Change Method.
public
change() : void
Makes event_id column nullable to support Gatherings-only associations.