Answers for "laravel allow null migration"

PHP
1

laravel change column

Schema::table('users', function (Blueprint $table) {
    $table->string('name', 50)->nullable()->change();
});
Posted by: Guest on April-02-2020
1

integer nullable laravel

$table->integer('banner_id')->nullable()->unsigned();
Posted by: Guest on August-24-2020

Code answers related to "laravel allow null migration"

Browse Popular Code Answers by Language