migrate/internal/cli
Andrew Klotz ffea024e7c migrate down less destructive
default behaviour for down is to apply all down migrations, which is
comparable to dropping a database - and usually not the desired default
action

proposed changes:

 * `down` prompts for a confirm `y` before applying all down migrations, defaulting to doing nothing
 * `down --all` does the current behaviour, applying all down migrations
 * `down N` is unchanged

 * `down N --all` errors
 * `down --all N` errors
2019-06-26 00:00:54 -04:00
..
build_aws-s3.go Copy cli main package under migrate directory, keep deprecated original main package for backwards compatibility, fixes #70 2018-11-21 09:01:35 +01:00
build_cassandra.go Copy cli main package under migrate directory, keep deprecated original main package for backwards compatibility, fixes #70 2018-11-21 09:01:35 +01:00
build_clickhouse.go Copy cli main package under migrate directory, keep deprecated original main package for backwards compatibility, fixes #70 2018-11-21 09:01:35 +01:00
build_cockroachdb.go Copy cli main package under migrate directory, keep deprecated original main package for backwards compatibility, fixes #70 2018-11-21 09:01:35 +01:00
build_firebird.go Added Firebird support (#191) 2019-03-21 01:51:49 -07:00
build_github.go Copy cli main package under migrate directory, keep deprecated original main package for backwards compatibility, fixes #70 2018-11-21 09:01:35 +01:00
build_github_ee.go Github Enterprise support (#234) 2019-06-16 12:48:01 -07:00
build_gitlab.go Gitlab source (#184) 2019-03-10 18:38:23 -07:00
build_go-bindata.go Copy cli main package under migrate directory, keep deprecated original main package for backwards compatibility, fixes #70 2018-11-21 09:01:35 +01:00
build_godoc-vfs.go Copy cli main package under migrate directory, keep deprecated original main package for backwards compatibility, fixes #70 2018-11-21 09:01:35 +01:00
build_google-cloud-storage.go Copy cli main package under migrate directory, keep deprecated original main package for backwards compatibility, fixes #70 2018-11-21 09:01:35 +01:00
build_mongodb.go added mongodb driver 2019-01-01 11:14:27 +03:00
build_mysql.go Copy cli main package under migrate directory, keep deprecated original main package for backwards compatibility, fixes #70 2018-11-21 09:01:35 +01:00
build_postgres.go Copy cli main package under migrate directory, keep deprecated original main package for backwards compatibility, fixes #70 2018-11-21 09:01:35 +01:00
build_ql.go Copy cli main package under migrate directory, keep deprecated original main package for backwards compatibility, fixes #70 2018-11-21 09:01:35 +01:00
build_redshift.go Copy cli main package under migrate directory, keep deprecated original main package for backwards compatibility, fixes #70 2018-11-21 09:01:35 +01:00
build_spanner.go Copy cli main package under migrate directory, keep deprecated original main package for backwards compatibility, fixes #70 2018-11-21 09:01:35 +01:00
build_sqlite3.go Copy cli main package under migrate directory, keep deprecated original main package for backwards compatibility, fixes #70 2018-11-21 09:01:35 +01:00
build_sqlserver.go rename mssql driver to sqlserver 2019-05-24 15:16:12 +02:00
commands.go migrate down less destructive 2019-06-26 00:00:54 -04:00
commands_test.go migrate down less destructive 2019-06-26 00:00:54 -04:00
log.go Fixes for unused linter 2019-03-22 22:08:29 +03:00
main.go migrate down less destructive 2019-06-26 00:00:54 -04:00