DB Migrations #67

Merged
konrad merged 44 commits from feature/migrations into master 2019-03-29 17:54:36 +00:00
Showing only changes of commit a78182322b - Show all commits

View File

@ -24,6 +24,7 @@ import (
func init() { func init() {
migrateCmd.AddCommand(migrateListCmd) migrateCmd.AddCommand(migrateListCmd)
migrationRollbackCmd.Flags().StringVarP(&rollbackUntilFlag, "name", "n", "", "The id of the migration you want to roll back until.") migrationRollbackCmd.Flags().StringVarP(&rollbackUntilFlag, "name", "n", "", "The id of the migration you want to roll back until.")
migrationRollbackCmd.MarkFlagRequired("name")
migrateCmd.AddCommand(migrationRollbackCmd) migrateCmd.AddCommand(migrationRollbackCmd)
rootCmd.AddCommand(migrateCmd) rootCmd.AddCommand(migrateCmd)
} }