From 99c9adc69ed017039e64255a80e76fcb36c786c1 Mon Sep 17 00:00:00 2001 From: Deluan Date: Fri, 4 Sep 2026 20:45:22 -0400 Subject: [PATCH] fix(pglite): give the initial migration a valid goose timestamp The migration validator requires a 14-digit timestamp newer than the newest migration on master; 00000000000001 fails both checks. --- ...001_initial_schema.sql => 20260905004449_initial_schema.sql} | 0 db/pglite/README.md | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename db/migrations/{00000000000001_initial_schema.sql => 20260905004449_initial_schema.sql} (100%) diff --git a/db/migrations/00000000000001_initial_schema.sql b/db/migrations/20260905004449_initial_schema.sql similarity index 100% rename from db/migrations/00000000000001_initial_schema.sql rename to db/migrations/20260905004449_initial_schema.sql diff --git a/db/pglite/README.md b/db/pglite/README.md index 69fe41daa..21d69eb39 100644 --- a/db/pglite/README.md +++ b/db/pglite/README.md @@ -17,7 +17,7 @@ ReadyForQuery status byte. A unix socket is also listened on for external tools; ## Schema -The 131 SQLite migrations are gone. `db/migrations/00000000000001_initial_schema.sql` is one goose migration with +The 131 SQLite migrations are gone. `db/migrations/20260905004449_initial_schema.sql` is one goose migration with the whole schema, a crude mechanical translation of the SQLite one (`text`/`bigint`/`boolean`/`timestamp`/`jsonb`, no FTS5, no triggers), plus the seed rows the old migrations used to insert: the default library and the default transcodings. `DbPath` defaults to `pglite:///pglite`.