To store the uploaded file information, open a migration file to define the table values in the database.
php artisan make:model File -m
Then, go to database/migrations/timestamp_create_files_table file and define the table values
After you are done there, add the $fillable property in the File model. Open the app/Models/File.php file and place the code.Now, you are set to run the migration. You can also see the update in the MySQL database.