Answers for "laravel schema nullable"

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

Browse Popular Code Answers by Language