ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Janady13/missionmatch / db/migrations/0035_bls_wages_natural_key.sql

Source identity, revision, and recovered contents.

GitHub sourceSource text recovered

Source identity

FieldRecorded value
Source typeGitHub source
Original recordJanady13/missionmatch / db/migrations/0035_bls_wages_natural_key.sql
DateNot specified in source
RepositoryJanady13/missionmatch
Revision720d47fae476b0d38477ae4401697d372b1ea2bc
Branchfeature/opportunity-to-outcome
Path or archive memberdb/migrations/0035_bls_wages_natural_key.sql
Original SHA-256544269ba59b218f2ce71c77fb75cee6e57617d3c01b42ac49cc775003ff091ff
Git blob SHA1aeb1fe3520e6516babc38b6f1c84060a1d9ed88
Reading-copy SHA-256544269ba59b218f2ce71c77fb75cee6e57617d3c01b42ac49cc775003ff091ff

Original source ↗

Every recorded occurrence

These 11 records contain identical original source bytes. Their paths and revisions remain part of the archive.

Original recordBranch or archiveRevision / identifierOriginal location
Janady13/missionmatch / db/migrations/0035_bls_wages_natural_key.sqlfeature/opportunity-to-outcome720d47fae476b0d38477ae4401697d372b1ea2bcOpen original
Janady13/missionmatch / db/migrations/0035_bls_wages_natural_key.sqlcollision-deconfliction4ee5a09972608ed89f8377c6665542d5f450f0a6Open original
Janady13/missionmatch / db/migrations/0035_bls_wages_natural_key.sqlm5-price-to-win41000ad30fff4129fdaf5ec84e15ba14c27d4890Open original
Janady13/missionmatch / db/migrations/0035_bls_wages_natural_key.sqlmaster1e9249840a4302ec82e123b9c9cb6f75badea3e4Open original
Janady13/missionmatch / db/migrations/0035_bls_wages_natural_key.sqlmag-substrateb82c7100a492dec67dfd1eda6b3f53def859be35Open original
Janady13/missionmatch / db/migrations/0035_bls_wages_natural_key.sqltime-to-fill-survivalb66e1e505863d4f17741a4b9ede73509e45bd6c6Open original
Janady13/missionmatch / db/migrations/0035_bls_wages_natural_key.sqlpresentation-readinesseb574acaa29d71ce4d0f852572e87c275c79fdb7Open original
Janady13/missionmatch / db/migrations/0035_bls_wages_natural_key.sqlvendor-intelligencefe9796a19c261951d3f2565206c0c1b5ac294465Open original
Janady13/missionmatch / db/migrations/0035_bls_wages_natural_key.sqlphase2-connectorse038d4c687aec16f8bd9bc4d907eea14d91f8704Open original
Janady13/missionmatch / db/migrations/0035_bls_wages_natural_key.sqlfeature/aioe-upgrade2178e7298d0e5d9af83afa12402fd587f0ba6ed8Open original
Janady13/missionmatch / db/migrations/0035_bls_wages_natural_key.sqlcapture-readinessbae6af7cb2997e819174a9e9cfff5e16067a1975Open original

Recovered source transcript

-- +goose Up -- National OEWS wage expansion (M5 Phase 1). The national wage sync (cmd/oews-national-sync) upserts one -- row per (occupation_code, area, metric), so it needs a UNIQUE on that natural key to upsert on. This is -- ADDITIVE and safe: the existing HI and NM Galapagos rows the rates sync writes are already unique on -- (occupation_code, area, metric) because that sync emits exactly one series per occupation, area, and -- metric, so the constraint is satisfied by the current data. bls_wages stays a GLOBAL public reference -- table (no organization_id, outside Row Level Security); this is a constraint, not an RLS change. -- -- The constraint is named and additive so it can be dropped cleanly on rollback without touching the -- series_id primary key, which stays the identity of a row. ALTER TABLE bls_wages ADD CONSTRAINT bls_wages_occ_area_metric_key UNIQUE (occupation_code, area, metric); -- +goose Down ALTER TABLE bls_wages DROP CONSTRAINT IF EXISTS bls_wages_occ_area_metric_key;

Search equations, builds, manuscript text, and recovered sources.