Closed
Description
Version
1.21.0
What happened?
A bug happened!
Relevant log output
../../pkg/db/sqlc/querier.go:9:2: "net/netip" imported and not used
Database schema
CREATE TABLE IF NOT EXISTS refresh_tokens (
user_id bigint REFERENCES users(id) ON DELETE CASCADE,
ip inet NOT NULL,
);
SQL queries
No response
Configuration
version: "2"
sql:
- engine: "postgresql"
queries: "./pkg/db/query"
schema: "./pkg/db/migration"
database:
uri: "postgres://...."
gen:
go:
package: "db"
sql_package: "pgx/v5"
out: "./pkg/db/sqlc"
emit_json_tags: true
emit_interface: true
emit_empty_slices: true
overrides:
- db_type: "timestamptz"
go_type: "time.Time"
- db_type: "uuid"
go_type: "github.com/google/uuid.UUID"
Playground URL
No response
What operating system are you using?
macOS
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go