mirror of
https://github.com/1f349/violet.git
synced 2024-11-23 11:51:37 +00:00
16 lines
411 B
YAML
16 lines
411 B
YAML
|
version: "2"
|
||
|
sql:
|
||
|
- engine: sqlite
|
||
|
queries: database/queries
|
||
|
schema: database/migrations
|
||
|
gen:
|
||
|
go:
|
||
|
package: "database"
|
||
|
out: "database"
|
||
|
emit_json_tags: true
|
||
|
overrides:
|
||
|
- column: "routes.flags"
|
||
|
go_type: "github.com/1f349/violet/target.Flags"
|
||
|
- column: "redirects.flags"
|
||
|
go_type: "github.com/1f349/violet/target.Flags"
|