data(atlas): complete hop-2 body catalogs + corporations table
Hop-2 systems authored: Tessera/Corvel (legal archive, 1.3B), Proxima/Ancora (first colony, Zheng He lore, 400M), Meridian/Provenance (boomtown, 150M), Barnard's Star/Verada (commuter town, 2B, wiki prose adjusted for surface-majority pop), Prometheus/Galen+Chiron+Site Anterior (longevity monopoly, 55K), Cygni B/Ferrath+Kihl Works (shipyards, 1.8B, 7 combines named), Cairn (the anomaly — 7 apertures, 2 garden planets, zero population). New: corporations table in systems.db schema. 20 records populated from wiki/corporations/ + DSMC + 7 Cygni B combines (Vethara, Kossler-Drun, Amberan Works, Talavec & Sons, Orren-Skel, Marhoud Fabrication, Drevast Extraction). Atlas CLI: fixed planet count defaults (6-8 minimum per star type, was 2-4). Miri added Zheng He lore to Proxima wiki. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -189,6 +189,21 @@ CREATE TABLE IF NOT EXISTS stations (
|
||||
updated_at TEXT DEFAULT (datetime('now'))
|
||||
);
|
||||
|
||||
-- Corporations, combines, and major economic entities
|
||||
-- Source: wiki/corporations/ pages (canonical)
|
||||
CREATE TABLE IF NOT EXISTS corporations (
|
||||
corp_id TEXT PRIMARY KEY, -- slug from wiki (e.g., "gate-corporation", "vethara")
|
||||
proper_name TEXT NOT NULL, -- display name
|
||||
corp_type TEXT NOT NULL, -- corporation, combine, syndic, institution, independent
|
||||
scope TEXT, -- reach-wide, sector, system, local
|
||||
headquarters_system TEXT REFERENCES star_systems(system_id),
|
||||
headquarters_body TEXT, -- body_id or station_id
|
||||
specialization TEXT, -- primary product/service
|
||||
parent_corp TEXT REFERENCES corporations(corp_id),
|
||||
notes TEXT,
|
||||
updated_at TEXT DEFAULT (datetime('now'))
|
||||
);
|
||||
|
||||
-- Indexes
|
||||
-- astronomical_id removed: system_id IS the GJ catalog number
|
||||
CREATE INDEX IF NOT EXISTS idx_star_systems_sector ON star_systems(geographic_sector);
|
||||
@@ -207,3 +222,5 @@ CREATE INDEX IF NOT EXISTS idx_bodies_inhabited ON bodies(inhabited);
|
||||
CREATE INDEX IF NOT EXISTS idx_stations_system ON stations(system_id);
|
||||
CREATE INDEX IF NOT EXISTS idx_stations_orbits ON stations(orbits_body_id);
|
||||
CREATE INDEX IF NOT EXISTS idx_stations_type ON stations(station_type);
|
||||
CREATE INDEX IF NOT EXISTS idx_corps_system ON corporations(headquarters_system);
|
||||
CREATE INDEX IF NOT EXISTS idx_corps_type ON corporations(corp_type);
|
||||
|
||||
Reference in New Issue
Block a user