-- Migration 068 — Add is_blacklisted flag to guests

ALTER TABLE guests
  ADD COLUMN IF NOT EXISTS is_blacklisted BOOLEAN NOT NULL DEFAULT FALSE;

CREATE INDEX IF NOT EXISTS idx_guests_blacklisted
  ON guests(hotel_id, is_blacklisted)
  WHERE is_blacklisted = TRUE;
