mirror of
https://github.com/Dvorinka/Primora.git
synced 2026-06-03 20:13:01 +00:00
initiall commit
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user