Answers for "alter table where column laravel"

PHP
1

laravel change column

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

migrations required field laravel

$table->string('foo')->nullable(false)->change();
Posted by: Guest on May-07-2020

Code answers related to "alter table where column laravel"

Browse Popular Code Answers by Language