feat(db): normalize star systems into multi-table schema with GJ primary keys

Replaces flat star_systems table with 7 normalized tables: star_systems,
system_gates (with hop_distance_from_gateway), system_history,
historical_events (1:N), system_economy, system_factions, system_culture.

Primary key is now the GJ astronomical ID (e.g., "GJ 244A") — S-number
identifiers removed entirely. The astronomical_id column is dropped as
redundant. Database moved to server/data/systems.db (ships with game).

10 core systems fully populated with structured data.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-14 03:41:29 +01:00
co-authored by Claude Opus 4.6
parent 23d9ff0a58
commit 7f307c1225
3 changed files with 136 additions and 103 deletions
Binary file not shown.