-- Walks from a lot to the lots carried over from it (transfers, exchanges, refunds), -- for the exposure of an EnakGame budget (docs/rfc-enakgame.md ยง10). CONCURRENTLY -- keeps wallet writes going while it builds, so this file holds one statement. CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_wallet_lots_origin_lot_id ON wallet_lots(origin_lot_id) WHERE origin_lot_id IS NOT NULL;