ALTER TABLE {{PREFIX}}trip_changes
  ADD COLUMN IF NOT EXISTS archived_at DATETIME NULL,
  ADD COLUMN IF NOT EXISTS archived_by BIGINT UNSIGNED NULL,
  ADD INDEX IF NOT EXISTS idx_trip_changes_archived (trip_id, archived_at),
  ADD CONSTRAINT fk_trip_changes_archive_user FOREIGN KEY (archived_by) REFERENCES {{PREFIX}}users(id) ON DELETE SET NULL;
