Kasparas Galdikas
7c76166697
Github Enterprise support ( #234 )
...
* exported Github struct fields and ReadDirectory method
* github ee implementation, tests and docs
* build fixes
* Github Enterprise API endpoint based on docs
* addressing PR comments
* code review
* make linter happy
* parseBool() takes fallback
* pr comments
* tweaks to Config{}
2019-06-16 12:48:01 -07:00
Dale Hui
0d13e794e4
Clean up CLI docs
...
- Move main CLI docs from cli to cmd/migrate
- Clean up markdown
- Update example CLI usage in Docker
2019-06-13 01:30:58 -07:00
Dale Hui
8437fe6dc6
Merge pull request #227 from zhevron/mssql-params
...
Fix incorrect syntax errors for MSSQL driver
2019-05-27 10:25:36 -07:00
Thomas Lokshall
dd0ead011e
update Dockerfile referencing renamed mssql driver
2019-05-27 08:20:47 +02:00
Thomas Lokshall
ffbd6893f6
sqlserver: update comment referencing mssql
2019-05-27 08:20:35 +02:00
Thomas Lokshall
bad962cf21
Merge branch 'mssql-params' of https://github.com/zhevron/migrate into mssql-params
2019-05-24 15:16:24 +02:00
Thomas Lokshall
293bfec844
rename mssql driver to sqlserver
2019-05-24 15:16:12 +02:00
Thomas Lokshall
bc0b686fc0
Merge branch 'master' into mssql-params
2019-05-23 11:12:50 +02:00
Thomas Lokshall
e08ae0e996
mssql: remove mssql registration, document only support for sqlserver driver
2019-05-23 09:43:13 +02:00
Alex Pliutau
e877644ed1
Fix MongoDB docs: x-migrations-collection ( #225 )
2019-05-22 18:29:44 -07:00
Dale Hui
5ed8a441d4
Merge pull request #229 from aryzing/patch-1
...
Typo
2019-05-22 18:25:41 -07:00
Eduard Bardají Puig
6ff5b4ed4c
Typo
2019-05-22 20:25:18 +01:00
Thomas Lokshall
3d4dad5655
mssql: use sqlserver driver instead of deprecated mssql driver
2019-05-22 14:10:37 +02:00
Thomas Lokshall
ec3ae16f2e
mssql: fix sp_MSforeachtable parameter
2019-05-22 14:09:50 +02:00
Thomas Lokshall
9f282f4ee3
use correct mssql parameter syntax
2019-05-22 10:34:53 +02:00
Ferdy Pruis
e85c5f51b9
Disable foreign_key_checks in Drop command for MySQL ( #224 )
...
* Disable FOREIGN_KEY_CHECKS in MySQL when dropping all tables.
* Lowercased system variable
* Discard error enabling foreign_key_checks, dropping is already successful at this point
* Explicitly discard error
2019-05-21 10:56:37 -07:00
Dale Hui
2327ddb52d
Fix reference to MS SQL Server support in README
2019-05-21 10:54:54 -07:00
Dale Hui
7b3cd164d7
Merge pull request #222 from nathan-c/master
...
Add MS SQL Server Support
2019-05-21 10:52:41 -07:00
Nathan Collard
aeb7f633f3
mssql: fix code review comments
2019-05-21 08:44:17 +01:00
Nathan Collard
7817573893
Merge remote-tracking branch 'root/master'
2019-05-21 08:21:33 +01:00
Dale Hui
923901c81f
Cleanup regex usage in spanner DB driver
...
- Only compile a regex once for re-use
- Don't use regex unnecessarily (removing trailing semicolon)
- Add test for parsing multiple statements in a migration
2019-05-20 08:28:07 -07:00
Dale Hui
bd81e32d1a
Mark testing package as deprecated
2019-05-19 16:52:41 -07:00
nathan-c
e211c5b5f5
mssql: increase pull timeout
2019-05-19 21:36:50 +01:00
nathan-c
98e5f88b9f
mssql: fix error parsing and add tests
2019-05-19 16:08:15 +01:00
nathan-c
5ac583ba7b
mssql: fix linter errors
2019-05-19 15:21:25 +01:00
nathan-c
3bd91a774e
mssql: reorder readme
2019-05-19 15:15:07 +01:00
nathan-c
95290f2fbd
mssql: change migration table name and add readme
2019-05-19 15:09:56 +01:00
nathan-c
14e6c50d2e
fix mssql build flag
2019-05-19 14:47:09 +01:00
nathan-c
c273636efe
parse mssql errors
2019-05-19 14:08:10 +01:00
nathan-c
2fbec2f760
update mssql driver module
2019-05-19 13:43:47 +01:00
nathan-c
ae500dbe45
finish implementing mssql db and add tests
2019-05-19 13:37:40 +01:00
nathan-c
50e972912d
Merge remote-tracking branch 'evosure/mssql'
2019-05-18 14:39:55 +01:00
Dale Hui
e364488761
Merge pull request #220 from Flaque/patch-1
...
Fix Broken Markdown in cli/README.md
2019-05-16 12:15:54 -07:00
Evan Conrad
c7e9414bfe
Fix Broken Markdown in cli/README.md
2019-05-16 11:30:01 -07:00
Dale Hui
f2e5e31837
Remove offical Firebird support from README
2019-04-26 22:52:56 -07:00
Dale Hui
10e2545ceb
Update dependencies to resolve: https://github.com/golang-migrate/migrate/issues/202
2019-04-26 19:09:13 -07:00
Dale Hui
89970b8951
Bring built-in and supported sources and databases into parity
2019-04-26 19:04:37 -07:00
Dale Hui
66510b82c4
Remove official support for Firebird
...
- In the future, support for Firebird should also include v2.5
2019-04-26 19:04:05 -07:00
Kirill Muratov
6c96ef02df
Enabled maligned, staticcheck and errcheck linters ( #206 )
...
* Enabled maligned check
* Enabled staticcheck
* Fixes for golint
* Enabled errcheck linter
* Added fixes for error check
* Added errcheck for tests
* Fixed test
* Increased golangci-lint deadline for travis
* Increased golangci-lint deadline for travis
* Decreased golangci-lint deadline for travis
* Revert for backward compatibility
* Using log.Println() instead of fmt.Println()
* Handling os.RemoveAll() errors
* Using t.Error(error) instead of t.Errorf("%v", err)
* Using t.Fatal(error) instead of t.Fatalf("%v", err)
* Using fmt.Sprint(sum) instead of t.Srintf("%v", sum)
* Refactoring
* Revert for backward compatibility
* Revert
* go mod tidy
* Added error logging
* Added error logging
* Added error handling
* Added error handling
* Added error logging
* Fix error logging
* Added error handling
* Fix
* Added logging for migr.Buffer()
* Fixes
* Firebird test disabled
* Fixed nolint comment
* Updated firebird docker image version
* Disabled test for firebird 2.5
* Fixed // nolint
2019-04-26 15:47:16 -07:00
Dale Hui
ddc72468fc
Update packages that depend on the wrong golint import path
...
Addresses: https://github.com/golang-migrate/migrate/issues/202
2019-04-09 00:31:17 -07:00
Dale Hui
16197b67e3
Update to golangci-lint v1.16.0
...
- Fix newly raised issues
2019-04-07 00:51:27 -07:00
Dale Hui
6e2056f5b4
Include firebird db driver in default builds
2019-04-05 23:25:57 -07:00
Dale Hui
8d63b3f95b
Remove spurious list item
2019-03-28 21:35:54 -07:00
Dale Hui
43e4503343
Update golangci-lint config and implore contributors to use it
...
- Run golangci-lint on tests and fix found issues
2019-03-28 18:55:12 -07:00
Dale Hui
c1404f0f98
Merge pull request #194 from kmuratov/master
...
Enabled golangci-lint
2019-03-28 11:57:10 -07:00
Kirill Muratov
46ee425bac
Updated golangci.yml
2019-03-28 19:30:02 +03:00
Kirill Muratov
81f457f379
Added newline
2019-03-26 22:05:47 +03:00
Kirill Muratov
07c594d988
Added scopelint check
2019-03-26 22:01:12 +03:00
Kirill Muratov
be4c129168
Added interfacer, unconvert, goconst, nakedret, prealloc
2019-03-23 00:40:35 +03:00
Kirill Muratov
ef4a805b02
Added misspell linter
2019-03-22 23:57:00 +03:00