Answers for "create table with a defaut value for shema laravel"

PHP
5

laravel migration set default value

$table->string('name')->default('Hello World!');
Posted by: Guest on May-12-2020
3

laravel rename table

Schema::rename($currentTableName, $newTableName);
Posted by: Guest on September-15-2020

Code answers related to "create table with a defaut value for shema laravel"

Browse Popular Code Answers by Language