php artisan make:model XyzModelname -mc
php artisan tinker(first run)
call function inside model
$user =App\Models\User::upload_user()
call function inside controller
$user=App\Http\Contollers\AuthContoller::upload_csv()
for refresh specifi database table
php artisan migrate:refresh --path=/database/migrations/2014_10_12_000000_create_users_table.php
php artisan config:cache
php artisan cache:clear