From e7282c58f31ac9175a2fdeee2342ca8b7d2ad2e8 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 31 Jan 2026 21:19:06 -0700 Subject: [PATCH] chore(cmd/sql-migrate): add explicit default for sqlCommand switch --- cmd/sql-migrate/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/sql-migrate/main.go b/cmd/sql-migrate/main.go index e581f21..ec26a6a 100644 --- a/cmd/sql-migrate/main.go +++ b/cmd/sql-migrate/main.go @@ -203,6 +203,8 @@ func main() { cfg.sqlCommand = sqlCommandMariaDB case "mysql", "my": cfg.sqlCommand = sqlCommandMySQL + default: + // leave as provided by the user } if !strings.HasSuffix(cfg.migrationsDir, "/") {