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();
});
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire