From 738443a12bed4c520a69ff05586cea592de084aa Mon Sep 17 00:00:00 2001 From: Yehor Smoliakov Date: Tue, 31 Oct 2017 20:16:50 +0200 Subject: [PATCH] Added a `parseTime` parameter to the MySQL status command --- README.md | 2 +- cmd/goose/main.go | 2 +- examples/go-migrations/main.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 44657be..95eb7a0 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ Examples: goose sqlite3 ./foo.db up goose postgres "user=postgres dbname=postgres sslmode=disable" status - goose mysql "user:password@/dbname" status + goose mysql "user:password@/dbname?parseTime=true" status goose redshift "postgres://user:password@qwerty.us-east-1.redshift.amazonaws.com:5439/db" status ``` ## create diff --git a/cmd/goose/main.go b/cmd/goose/main.go index 91057cc..43fce0f 100644 --- a/cmd/goose/main.go +++ b/cmd/goose/main.go @@ -102,7 +102,7 @@ Examples: goose sqlite3 ./foo.db up goose postgres "user=postgres dbname=postgres sslmode=disable" status - goose mysql "user:password@/dbname" status + goose mysql "user:password@/dbname?parseTime=true" status goose redshift "postgres://user:password@qwerty.us-east-1.redshift.amazonaws.com:5439/db" status Options: diff --git a/examples/go-migrations/main.go b/examples/go-migrations/main.go index bbea349..64226ea 100644 --- a/examples/go-migrations/main.go +++ b/examples/go-migrations/main.go @@ -102,7 +102,7 @@ Examples: goose sqlite3 ./foo.db up goose postgres "user=postgres dbname=postgres sslmode=disable" status - goose mysql "user:password@/dbname" status + goose mysql "user:password@/dbname?parseTime=true" status goose redshift "postgres://user:password@qwerty.us-east-1.redshift.amazonaws.com:5439/db" status Options: