how to check linux os
cat /etc/os-release
or
hostnamectl
find operating system linux
#Get details about linux distro
cat /etc/os-release
pulls OS name and version linux
( lsb_release -ds || cat /etc/*release || uname -om ) 2>/dev/null | head -n1
artisan rollback one migration
php artisan migrate:rollback --step=1
migration rollback
php artisan migrate:rollback
laravel migration rollback
To rollback one step:
php artisan migrate:rollback
To rollback multiple steps:
php artisan migrate:rollback --step=[x]
To drop all tables and reload all migrations:
php artisan migrate:fresh
laravel migration
php artisan make:migration create_users_table --create=users
php artisan make:migration add_votes_to_users_table --table=users
php artisan see last migration
php artisan migrate:status
laravel make migration
php artisan make:migration CreateUsersTable
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us