Убрал createdAt из sql по insert current. Переложил заполнение на default current_timestamp.

This commit is contained in:
Первов Артем
2026-06-22 22:03:32 +03:00
parent a80019cef5
commit cf507037a8

View File

@@ -22,8 +22,8 @@ export class IngestService {
await this.db.query(
`
INSERT INTO current (edge, tag, value, "createdAt", "updatedAt")
VALUES ($1, $2, $3, NOW(), NOW())
INSERT INTO current (edge, tag, value, "updatedAt")
VALUES ($1, $2, $3, NOW())
ON CONFLICT (edge, tag)
DO UPDATE SET
value = $3,