Initial commit: GovAI 政务AI平台

This commit is contained in:
freedakgmail
2026-06-15 23:48:37 +08:00
commit 0f490f72a9
245 changed files with 51669 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
version: "2"
sql:
- engine: "postgresql"
queries: "pkg/db/queries/"
schema: "migrations/"
gen:
go:
package: "db"
out: "pkg/db/generated"
sql_package: "pgx/v5"
emit_json_tags: true
emit_empty_slices: true
emit_pointers_for_null_types: true
overrides:
- db_type: "uuid"
go_type: "github.com/google/uuid.UUID"
- db_type: "timestamptz"
go_type: "time.Time"
- db_type: "jsonb"
go_type: "json.RawMessage"
import: "encoding/json"
- db_type: "inet"
go_type: "string"