3x-ui/database/model
MHSanaei 6a6a662a2e
fix(db): store CreatedAt/UpdatedAt in milliseconds
GORM's autoCreateTime/autoUpdateTime tags default to Unix seconds on
int64 fields and overwrite the service-supplied UnixMilli value on
save. The frontend interprets these timestamps as JS Date inputs
(milliseconds), so created/updated columns rendered ~1970 dates. Adding
the :milli qualifier makes GORM match what the service code and UI
expect.
2026-05-23 14:36:51 +02:00
..
model.go fix(db): store CreatedAt/UpdatedAt in milliseconds 2026-05-23 14:36:51 +02:00
model_test.go Feat/multi inbound clients (#4469) 2026-05-19 12:20:24 +02:00