Answers for "migration integer laravel"

PHP
5

foreign id laravel migration

$table->unsignedBigInteger('user_id');
$table->foreign('user_id')->references('id')->on('users')->onDelete('cascade');
Posted by: Guest on June-21-2021
2

laravel migration integer

$table->integer('votes');
Posted by: Guest on March-22-2021
3

laravel migration integer

$table->bigInteger('votes');
Posted by: Guest on May-22-2020

Code answers related to "migration integer laravel"

Browse Popular Code Answers by Language