Answers for "migration set default value laravel"

PHP
0

laravel migration change column default

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

Code answers related to "migration set default value laravel"

Browse Popular Code Answers by Language