mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-08-03 03:13:05 -04:00
use real seconds value for migrations applied_at
This commit is contained in:
@@ -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() },
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user