chore(cmd/sql-migrate): add explicit default for sqlCommand switch

This commit is contained in:
AJ ONeal 2026-01-31 21:19:06 -07:00
parent dd4148b88e
commit e7282c58f3
No known key found for this signature in database

View File

@ -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, "/") {