First step: Check your category and post migration file
Check your migration files and check the public function up and public function down if the tables_names are correct and then check on your http://localhost/phpmyadmin/index.php and then go to your database
Second step: Check migrations table
Inside your database, check for the 'migrations' table, It looks like this Picture of some rows inside a migrations table, you will find out that those two tables(post and category) are not inside
Third Step: Copy Names of Migrations Files
Go into your laravel-app/database/migrations folder or IDE to that folder named migrations, then copy the name of both migrations files
Fourth and Final Step: Create new Migration rows and paste the copied names
Back to your localhost database migrations table, create new rows for the two copied names and paste the names accordingly numerically
AND THEN RERUN THE MIGRATION AGAIN. IT IS DONE
php artisan migrate