initiall commit

This commit is contained in:
Tomas Dvorak
2026-04-10 12:03:31 +02:00
commit 7ddfb1f52b
276 changed files with 37629 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
version: "2"
sql:
- engine: "postgresql"
schema:
- "db/migrations"
queries:
- "db/queries"
gen:
go:
package: "db"
out: "internal/database/db"
sql_package: "pgx/v5"
emit_interface: true
emit_json_tags: true
emit_pointers_for_null_types: true
overrides:
- db_type: "uuid"
go_type:
import: "github.com/google/uuid"
type: "UUID"
- db_type: "core.org_role"
go_type: "string"
- db_type: "core.project_role"
go_type: "string"
- db_type: "core.bucket_visibility"
go_type: "string"