@@ -134,6 +134,8 @@ public function up(array $names, array $dbs, string $prefix, int $start, int $en
134
134
$ this ->handler (function ($ db ) use ($ migrateNames , $ prefix , $ isConfirm ) {
135
135
$ this ->executeUp ($ migrateNames , $ isConfirm , $ prefix , $ db );
136
136
}, $ dbs , $ start , $ end );
137
+
138
+ output ()->success ('execute ok ' );
137
139
}
138
140
139
141
/**
@@ -168,6 +170,8 @@ public function down(
168
170
$ this ->handler (function ($ db ) use ($ migrateNames , $ prefix , $ isConfirm , $ defaultPool , $ step ) {
169
171
$ this ->executeDown ($ migrateNames , $ isConfirm , $ prefix , $ db , $ defaultPool , $ step );
170
172
}, $ dbs , $ start , $ end );
173
+
174
+ output ()->success ('execute ok ' );
171
175
}
172
176
173
177
/**
@@ -184,6 +188,8 @@ public function history(array $dbs, string $prefix, int $start, int $end, int $l
184
188
$ this ->handler (function ($ db ) use ($ prefix , $ limit , $ defaultPool ) {
185
189
$ this ->showHistory ($ limit , $ prefix , $ db , $ defaultPool );
186
190
}, $ dbs , $ start , $ end );
191
+
192
+ output ()->success ('execute ok ' );
187
193
}
188
194
189
195
/**
@@ -250,7 +256,6 @@ private function handler(callable $callback, array $dbs, int $start = 0, int $en
250
256
$ callback ((string )$ db );
251
257
}
252
258
253
- output ()->success ('execute ok ' );
254
259
return ;
255
260
}
256
261
0 commit comments