mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-06 07:12:46 +01:00
32 lines
1.2 KiB
YAML
32 lines
1.2 KiB
YAML
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" } } |