Extract database schema to separate SQL file

- Move schema from database.go to schema.sql
- Use go:embed to include schema at compile time
- Add 'out' debug file to .gitignore

This makes the schema more maintainable and easier to review.
This commit is contained in:
sneak committed 2025-07-27 22:38:51 +02:00
1 parent 97a06e14f2
commit 4a3d71d307
3 files changed
+110 -107

No files matched your search

+4 -1
View File
@@ -31,4 +31,7 @@ go.work.sum
*.tmp
# Raw AS data (we only commit the gzipped version)
pkg/asinfo/asdata.json
pkg/asinfo/asdata.json
# Debug output files
out