@@ -134,6 +134,8 @@ public function up(array $names, array $dbs, string $prefix, int $start, int $en
134134 $ this ->handler (function ($ db ) use ($ migrateNames , $ prefix , $ isConfirm ) {
135135 $ this ->executeUp ($ migrateNames , $ isConfirm , $ prefix , $ db );
136136 }, $ dbs , $ start , $ end );
137+
138+ output ()->success ('execute ok ' );
137139 }
138140
139141 /**
@@ -168,6 +170,8 @@ public function down(
168170 $ this ->handler (function ($ db ) use ($ migrateNames , $ prefix , $ isConfirm , $ defaultPool , $ step ) {
169171 $ this ->executeDown ($ migrateNames , $ isConfirm , $ prefix , $ db , $ defaultPool , $ step );
170172 }, $ dbs , $ start , $ end );
173+
174+ output ()->success ('execute ok ' );
171175 }
172176
173177 /**
@@ -184,6 +188,8 @@ public function history(array $dbs, string $prefix, int $start, int $end, int $l
184188 $ this ->handler (function ($ db ) use ($ prefix , $ limit , $ defaultPool ) {
185189 $ this ->showHistory ($ limit , $ prefix , $ db , $ defaultPool );
186190 }, $ dbs , $ start , $ end );
191+
192+ output ()->success ('execute ok ' );
187193 }
188194
189195 /**
@@ -250,7 +256,6 @@ private function handler(callable $callback, array $dbs, int $start = 0, int $en
250256 $ callback ((string )$ db );
251257 }
252258
253- output ()->success ('execute ok ' );
254259 return ;
255260 }
256261
0 commit comments