Skip to content

Commit d864aa7

Browse files
committed
batch default value added
1 parent 1008d0a commit d864aa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/Migrations/CBXWPMigrationsTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function __construct( $tables = [], $plugin = '' ) {
2626
Capsule::schema()->create( 'cbxmigrations', function ( $table ) {
2727
$table->increments( 'id' );
2828
$table->string( 'migration' );
29-
$table->integer( 'batch' );
29+
$table->integer( 'batch' )->default(0);
3030
$table->string( 'plugin' );
3131
} );
3232
}

0 commit comments

Comments
 (0)