mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2026-01-12 09:11:23 +01:00
refactor: remove pocketbase (#1138)
This commit is contained in:
32
app/database/sqlc.yaml
Normal file
32
app/database/sqlc.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
version: "2"
|
||||
sql:
|
||||
- engine: "sqlite"
|
||||
queries: "read.sql"
|
||||
schema: "migrations"
|
||||
gen:
|
||||
go:
|
||||
package: "sqlc"
|
||||
out: "sqlc"
|
||||
emit_json_tags: true
|
||||
emit_pointers_for_null_types: true
|
||||
overrides:
|
||||
- { "column": "*.schema", "go_type": { "type": "[]byte" } }
|
||||
- { "column": "*.state", "go_type": { "type": "[]byte" } }
|
||||
- { "column": "reactions.actiondata", "go_type": { "type": "[]byte" } }
|
||||
- { "column": "reactions.triggerdata", "go_type": { "type": "[]byte" } }
|
||||
- { "column": "_params.value", "go_type": { "type": "[]byte" } }
|
||||
- engine: "sqlite"
|
||||
queries: "write.sql"
|
||||
schema: "migrations"
|
||||
gen:
|
||||
go:
|
||||
package: "sqlc"
|
||||
out: "sqlc"
|
||||
emit_json_tags: true
|
||||
emit_pointers_for_null_types: true
|
||||
overrides:
|
||||
- { "column": "*.schema", "go_type": { "type": "[]byte" } }
|
||||
- { "column": "*.state", "go_type": { "type": "[]byte" } }
|
||||
- { "column": "reactions.actiondata", "go_type": { "type": "[]byte" } }
|
||||
- { "column": "reactions.triggerdata", "go_type": { "type": "[]byte" } }
|
||||
- { "column": "_params.value", "go_type": { "type": "[]byte" } }
|
||||
Reference in New Issue
Block a user