Answers for "how to migrate all default data laravel"

PHP
2

laravel migration default value

$table->increments('id');
            $table->string('name');
            $table->string('url');
            $table->string('country');
            $table->tinyInteger('status')->default('1');
            $table->timestamps();
Posted by: Guest on July-20-2021

Code answers related to "how to migrate all default data laravel"

Browse Popular Code Answers by Language