summaryrefslogtreecommitdiff
path: root/sqlc.yml
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-01-22 17:23:18 +0200
committerKyren223 <Kyren223@proton.me>2025-01-22 17:23:18 +0200
commita6ea05146050a8b2ae5963d4ea96434dc3005f37 (patch)
tree09128a6f90a0aae8159e0575e11562409f525a1d /sqlc.yml
parent645247f4ef489c9084a7d8d30db89b083287f0c6 (diff)
Added the ability to trust/untrust users
Diffstat (limited to 'sqlc.yml')
-rw-r--r--sqlc.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/sqlc.yml b/sqlc.yml
index 49e8741..ff86d04 100644
--- a/sqlc.yml
+++ b/sqlc.yml
@@ -11,6 +11,8 @@ sql:
overrides:
- column: "users.public_key"
go_type: "crypto/ed25519.PublicKey"
+ - column: "trusted_users.trusted_public_key"
+ go_type: "crypto/ed25519.PublicKey"
- column: "messages.receiver_id"
go_type: "*github.com/kyren223/eko/pkg/snowflake.ID"
- column: "messages.frequency_id"