mirror of
https://github.com/1f349/violet.git
synced 2024-11-21 10:51:40 +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"
|