chore(tooling): add star-map wireframe + wipe-bodies script
docs/wireframes/star-map.f0 — Frame0 wireframe for the galaxy navigator (created during wireframing session). tooling/wipe-bodies.sh — utility to clear bodies/stations tables in systems.db (preserves star_systems). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
# Wipe all bodies and stations from systems.db (not star_systems!)
|
||||
set -euo pipefail
|
||||
|
||||
DB="$(cd "$(dirname "$0")/.." && pwd)/server/data/systems.db"
|
||||
|
||||
echo "Deleting all stations..."
|
||||
sqlite3 "$DB" "DELETE FROM stations;"
|
||||
echo "Deleting all bodies..."
|
||||
sqlite3 "$DB" "DELETE FROM bodies;"
|
||||
echo "Done."
|
||||
sqlite3 "$DB" "SELECT 'bodies: ' || COUNT(*) FROM bodies; SELECT 'stations: ' || COUNT(*) FROM stations;"
|
||||
Reference in New Issue
Block a user