refactor(db): use int for attachment size and add lookup query

This commit is contained in:
kk10
2026-11-02 21:16:58 +03:00
parent 45c9f7731d
commit 983bbaa55e
9 changed files with 49 additions and 16 deletions
+4
View File
@@ -11,6 +11,10 @@ sql:
emit_empty_slices: true
emit_pointers_for_null_types: true
overrides:
- db_type: "integer"
go_type: "int"
- db_type: "pg_catalog.int4"
go_type: "int"
- db_type: "uuid"
go_type: "github.com/google/uuid.UUID"
- db_type: "uuid"