# Migrations

# Create a new migration file

php artisan make:migration create_products_table

# Commands

# fresh

Drop all tables and re-run all migrations

php artisan migrate:fresh

# install

Create the migration repository

php artisan migrate:install

# refresh

Reset and re-run all migrations

php artisan migrate:refresh

# reset

Rollback all database migrations

php artisan migrate:reset

# rollback

Rollback the last database migration

php artisan make:migration rollback

# status

Show the status of each migration

php artisan migrate:status
Last Updated: 12/6/2022, 22:08:16