(subcmd string)
| 134 | } |
| 135 | |
| 136 | func actionMigrate(subcmd string) func(context *cli.Context) { |
| 137 | return withinLockedMigration(func(context *cli.Context) { |
| 138 | if err := migration.Run(subcmd, context.Args()); err != nil { |
| 139 | log.Fatalf("Migrate run failed: %s", err) |
| 140 | } |
| 141 | }) |
| 142 | } |
| 143 | |
| 144 | func actionMigrateWithPostMigrationEvent(subcmd string) func(context *cli.Context) { |
| 145 | return withinLockedMigration(func(context *cli.Context) { |
no test coverage detected