Files
easywish/sqlc/sqlc.yaml
Nikolai Papin 49534d46c1 fix: fixed issue with comments in sqlc-generated go code;
refactor: creating/updating login_information takes plain password and hashes it in database;
feat: db query to get user by their login credentials
2025-06-19 17:10:52 +03:00

15 lines
318 B
YAML

version: "2"
sql:
- schema: "schema.sql"
queries: "query.sql"
engine: "postgresql"
gen:
go:
out: "../backend/internal/database"
sql_package: "pgx/v5"
database:
# managed: true
uri: "postgresql://postgres:postgres@localhost:5432/postgres?sslmode=disable"
rules:
- sqlc/db-prepare