-- Add non-physical prize support and winner award tracking
ALTER TABLE sweepstake_prizes
  ADD COLUMN IF NOT EXISTS kind VARCHAR(16) NOT NULL DEFAULT 'physical',
  ADD COLUMN IF NOT EXISTS points BIGINT NOT NULL DEFAULT 0,
  ADD COLUMN IF NOT EXISTS xp BIGINT NOT NULL DEFAULT 0;

ALTER TABLE sweepstake_winners
  ADD COLUMN IF NOT EXISTS awarded_at TIMESTAMPTZ;
