mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-12-31 20:42:31 +00:00
* refactor: replace gorm with vanilla sql and sqlc * chore: go mod tidy * refactor: rebase for main * tests: fix tests * fix: review comments
22 lines
552 B
YAML
22 lines
552 B
YAML
version: "2"
|
|
sql:
|
|
- engine: "sqlite"
|
|
queries: "query.sql"
|
|
schema: "schema.sql"
|
|
gen:
|
|
go:
|
|
package: "repository"
|
|
out: "internal/repository"
|
|
rename:
|
|
uuid: "UUID"
|
|
oauth_groups: "OAuthGroups"
|
|
oauth_name: "OAuthName"
|
|
oauth_sub: "OAuthSub"
|
|
overrides:
|
|
- column: "sessions.oauth_groups"
|
|
go_type: "string"
|
|
- column: "sessions.oauth_name"
|
|
go_type: "string"
|
|
- column: "sessions.oauth_sub"
|
|
go_type: "string"
|