feat(data): update message queries

This commit is contained in:
2024-11-02 13:13:11 +02:00
parent 8e3d1c5bee
commit 7ad5f5aa60
5 changed files with 37 additions and 59 deletions

View File

@@ -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"