Commit Graph

4 Commits

Author SHA1 Message Date
Lee Smet
87a5ae67c7
Add indexed_fields method on Model
For postgres indexes we want to know the indexed field names upfront
without an actual instance of Model

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-07-31 13:21:12 +02:00
Lee Smet
0a8c5d1c1f
Expand Index struct to also get the original field name
This is needed in postgres, since we store data as jsonb so struct
fields can't get renamed

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-07-31 12:12:06 +02:00
timurgordon
e91a44ce37 fmt, fixes and additions 2025-06-19 13:18:10 +03:00
Lee Smet
b8e1449ddb
Restructure crates for correct proc macro usage
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-25 13:58:17 +02:00