Answers for "migration for change required to default value null laravel"

PHP
1

laravel migration change default value

Schema::table('users', function ($table) {
    $table->integer('active')->default(0)->change();
});
Posted by: Guest on June-02-2021

Code answers related to "migration for change required to default value null laravel"

Browse Popular Code Answers by Language