I created a migration with user_id
column making nullable
. How can I change user_id
as not nullable
? My previous migration code is given below:
Schema::table('users', function($table)
{
$table->string('name', 50)->nullable();
});
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2HwUyDf
via IFTTT
Aucun commentaire:
Enregistrer un commentaire