DEV Community

Discussion on: How to read content from PDF document in Laravel 8

Collapse
 
mnaderian profile image
Mahdi Naderian • Edited

Dude, the first command should have been like this:
php artisan make:model File -mc

And when a column is nullable() you don't need to give it default(null).

Collapse
 
snehalkadwe profile image
Snehal Rajeev Moon • Edited

Thank you, I have changed it 🙂

Collapse
 
udropper profile image
Guilherme Antônio Constantino

You didn't change it, I spent a great amount of time trying to figure this out

Thread Thread
 
snehalkadwe profile image
Snehal Rajeev Moon

where did you get stuck, I just removed nullable() from migration.