mirror of
https://github.com/therootcompany/golib.git
synced 2026-02-09 21:38:05 +00:00
chore(cmd/sql-migrate): add explicit default for sqlCommand switch
This commit is contained in:
parent
dd4148b88e
commit
e7282c58f3
@ -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, "/") {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user