Answers for "constrained table with db class laravel"

PHP
0

call table name in model laravel

protected $table = 'table_name';
Posted by: Guest on October-24-2021
0

how to set db table type in laravel

Schema::create('users', function (Blueprint $table) {
    $table->engine = 'InnoDB';

    // ...
});
Posted by: Guest on March-06-2021

Browse Popular Code Answers by Language