Initial Commit

This commit is contained in:
Abhishek Shroff
2024-03-03 15:30:32 +05:30
commit 6eadc65032
17 changed files with 1163 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
version: "2"
sql:
- engine: "postgresql"
queries: "sql/queries"
schema: "sql/migrations"
gen:
go:
package: "phylumsql"
out: "phylumsql"
sql_package: "pgx/v5"
overrides:
- db_type: "uuid"
go_type:
import: "github.com/google/uuid"
type: "UUID"
- db_type: "uuid"
nullable: true
go_type:
import: "github.com/google/uuid"
type: "UUID"
pointer: true