summaryrefslogtreecommitdiff
path: root/sqlc.yml
diff options
context:
space:
mode:
Diffstat (limited to 'sqlc.yml')
-rw-r--r--sqlc.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/sqlc.yml b/sqlc.yml
index 237f348..d48d5c2 100644
--- a/sqlc.yml
+++ b/sqlc.yml
@@ -9,9 +9,13 @@ sql:
out: "./internal/data/"
emit_pointers_for_null_types: true
overrides:
+ - column: "users.public_key"
+ go_type: "crypto/ed25519.PublicKey"
+ - column: "messages.receiver_id"
+ go_type: "*github.com/kyren223/eko/pkg/snowflake.ID"
+ - column: "messages.frequency_id"
+ go_type: "*github.com/kyren223/eko/pkg/snowflake.ID"
- column: "*.id"
go_type: "github.com/kyren223/eko/pkg/snowflake.ID"
- column: "*.*_id"
go_type: "github.com/kyren223/eko/pkg/snowflake.ID"
- - column: "users.public_key"
- go_type: "crypto/ed25519.PublicKey"