CREATE TABLE IF NOT EXISTS asset_overrides (
  asset_id uuid PRIMARY KEY REFERENCES assets(id) ON DELETE CASCADE,
  capture_ts_utc_override timestamptz,
  capture_offset_minutes_override int,
  created_at timestamptz NOT NULL DEFAULT now()
);

CREATE INDEX IF NOT EXISTS asset_overrides_capture_ts_idx
  ON asset_overrides(capture_ts_utc_override);
