laravel table default value code example
Example 1: laravel migration set default value
$table->string('name')->default('Hello World!');
Example 2: integer default value laravel
$table->integer('estado')->default(0);
$table->string('name')->default('Hello World!');
$table->integer('estado')->default(0);