Files
Operation-Blue-Laminate-v2/db/06_backfill_skin_condition_swept.sql
2026-06-01 10:52:06 -05:00

19 lines
953 B
SQL

-- ============================================================
-- CS2 Skin Tracker — backfill skin_conditions.listings_swept_at
--
-- SUPERSEDED — DO NOT RUN.
--
-- The single shared `listings_swept_at` columns on `skins` and
-- `skin_conditions` were replaced by per-site checkpoint tables
-- (`skin_sweeps` / `skin_condition_sweeps`, keyed by (entity, source))
-- in the AddPerSiteSweepCheckpoints migration. Each site now tracks its
-- own "last swept" under its own `source`, so a band swept on CSFloat is
-- still never-swept on cs.money.
--
-- The columns this script updated no longer exist, so running it now
-- would error. We intentionally did NOT migrate the old values into the
-- new tables: both sites simply cold-sweep the catalogue once and the
-- never-swept-first ordering refills the checkpoints. This file is kept
-- only so the db/ script numbering stays stable.
-- ============================================================