use real seconds value for migrations applied_at

This commit is contained in:
Muki Kiboigo committed 2026-08-03 18:26:58 -07:00
1 parent ea0a45c713
commit 573c1f8a9a
1 file changed
+1 -1
+1 -1
View File
@@ -75,7 +75,7 @@ pub const Migrations = struct {
}
try conn.exec(
"insert into migrations (id, applied_at) values ($1, $2)",
.{ @as(i64, @intCast(i + 1)), std.Io.Clock.now(.boot, lp.io).toSeconds() },
.{ @as(i64, @intCast(i + 1)), std.Io.Clock.now(.real, lp.io).toSeconds() },
);
}