- edited description
Scan error on column index 0: unsupported Scan, storing driver.Value type []uint8 into type *time.Time
Issue #62
new
I have one db migration created and "goose up" worked fine. However, when I run "goose status", I get the following error. I'm using mysql.
$ goose status
goose: status for environment 'development'
Applied At Migration
=======================================
2016/03/11 15:59:41 sql: Scan error on column index 0: unsupported Scan, storing driver.Value type []uint8 into type *time.Time
Comments (3)
-
reporter -
You must use this in your mysql connection string: ?parseTime=true
You can read the docs here: https://github.com/go-sql-driver/mysql#parsetime
-
thanks @jonas_falck you helped me resolve a similar issue.
- Log in to comment