feat(updater): 从 felis-postgres 容器读取 PostgreSQL 版本并改为随发布更新镜像

This commit is contained in:
Lemon-miaow committed 2026-09-26 12:17:00 +08:00
1 parent 34a4dffc50
commit 912d129f14
7 files changed
+94 -40

No files matched your search

+2 -1
View File
@@ -18,7 +18,8 @@ import (
// database that already holds a schema and has migrations pending is bundled
// first (internal/dbbackup, label pre-migrate). A failed snapshot stops the
// upgrade; -no-backup is the explicit way past it, e.g. for an external
// database whose server is newer than the host's pg_dump.
// database (no [database] deployment, so the host's own pg_dump runs) whose
// server is newer than that pg_dump.
func cmdMigrate(args []string, stdout, stderr io.Writer) int {
fs := flag.NewFlagSet("migrate", flag.ContinueOnError)
fs.SetOutput(stderr)