$table->string('name')->default('Hello World!');
$table->integer('parent_item_category_id')->nullable();
Schema::table('users', function ($table) {
$table->integer('active')->default(0)->change();
});
Schema::table('users', function ($table) {
$table->integer('active')->default(0)->change();
});
You can use change() method:
Schema::table('users', function ($table) {
$table->integer('active')->default(0)->change();
});