
jpmschweitzerandClaude Opus 4.8
4319e40a63
chore(db): backfill founding_age_years for inhabited bodies (#1000)
Add idempotent MIGRATION_SQL UPDATE to import_economics.py deriving
bodies.founding_age_years via COALESCE(colonial_charter event age,
settlement_wave fallback) per the D-216 amendment.
- Events-first: colonial_charter age_years (authored; 11 bodies).
- Wave fallback: wave_1=600/wave_2=500/wave_3=300/wave_4=100/wave_5=40
(258 bodies).
- Exclude settlement_wave in (origin, unsettled) -> stays NULL: 4 Sol
bodies remain NULL (out of player scope, D-236).
Source-canonical via regen-db; 269/273 inhabited bodies now populated.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-30 16:07:47 +02:00
..
2026-04-22 08:55:48 +02:00
2026-05-30 16:07:47 +02:00
2026-05-23 10:11:43 +02:00
2026-04-15 23:11:14 +02:00
2026-05-25 10:15:34 +02:00
2026-05-25 10:02:32 +02:00
2026-03-17 10:33:15 +01:00
2026-04-19 13:12:23 +02:00
2026-05-23 12:26:07 +02:00
2026-05-23 12:26:07 +02:00
2026-04-19 13:12:23 +02:00