fix(cmd/sql-migrate): spell 'postgres' correctly

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

View File

@ -197,7 +197,7 @@ func main() {
leafArgs := fsSub.Args() leafArgs := fsSub.Args()
switch cfg.sqlCommand { switch cfg.sqlCommand {
case "", "posgres", "posgresql", "pg", "psql", "plpgsql": case "", "postgres", "postgresql", "pg", "psql", "plpgsql":
cfg.sqlCommand = sqlCommandPSQL cfg.sqlCommand = sqlCommandPSQL
case "mariadb": case "mariadb":
cfg.sqlCommand = sqlCommandMariaDB cfg.sqlCommand = sqlCommandMariaDB