migrate/database
Erik Dubbelboer eb7d0dd6a1 Fix in the URL parser with go 1.12.8 and github.com/go-sql-driver/mysql (#265)
* Fix in the URL parser with go 1.12.8 and github.com/go-sql-driver/mysql

Change schemeFromURL to just split the url by :// to find the scheme.
It's not required to parse the whole URL. MySQL DSNs aren't valid URLs.

Fixes #264

* The mysql driver itself also used net/url.Parse

* Also fix TestPasswordUnencodedReservedURLChars

* Keep backwards compatibility with url encoded username and passwords

* Fix suggestions

* Reuse old function names
2019-08-16 23:09:12 -07:00
..
cassandra Enabled maligned, staticcheck and errcheck linters (#206) 2019-04-26 15:47:16 -07:00
clickhouse Enabled maligned, staticcheck and errcheck linters (#206) 2019-04-26 15:47:16 -07:00
cockroachdb Enabled maligned, staticcheck and errcheck linters (#206) 2019-04-26 15:47:16 -07:00
crate initial version 3.0.0 preview 2017-02-07 22:01:29 -08:00
firebird Remove official support for Firebird 2019-04-26 19:04:05 -07:00
mongodb Fix MongoDB docs: x-migrations-collection (#225) 2019-05-22 18:29:44 -07:00
mysql Fix in the URL parser with go 1.12.8 and github.com/go-sql-driver/mysql (#265) 2019-08-16 23:09:12 -07:00
neo4j initial version 3.0.0 preview 2017-02-07 22:01:29 -08:00
postgres Put tutorial specific info into a separate file 2019-08-11 22:06:04 +02:00
ql Enabled maligned, staticcheck and errcheck linters (#206) 2019-04-26 15:47:16 -07:00
redshift Enabled maligned, staticcheck and errcheck linters (#206) 2019-04-26 15:47:16 -07:00
shell initial version 3.0.0 preview 2017-02-07 22:01:29 -08:00
spanner Cleanup regex usage in spanner DB driver 2019-05-20 08:28:07 -07:00
sqlite3 Fix broken sqlite tests 2019-06-21 00:15:01 -07:00
sqlserver sqlserver: update comment referencing mssql 2019-05-27 08:20:35 +02:00
stub Enabled maligned, staticcheck and errcheck linters (#206) 2019-04-26 15:47:16 -07:00
testing Enabled maligned, staticcheck and errcheck linters (#206) 2019-04-26 15:47:16 -07:00
driver.go postgres: Move lock out of ensureVersionTable, for consistency with other SQL operations (#173) 2019-02-26 15:56:57 -08:00
driver_test.go add comments for database 2017-02-09 19:04:54 -08:00
error.go updated postgres driver, add database.Error struct 2017-02-14 23:12:16 -08:00
parse_test.go Fix in the URL parser with go 1.12.8 and github.com/go-sql-driver/mysql (#265) 2019-08-16 23:09:12 -07:00
util.go Enabled maligned, staticcheck and errcheck linters (#206) 2019-04-26 15:47:16 -07:00
util_test.go Review comments 2018-11-05 16:03:54 +04:00