롤백 마이그레이션

코드 예제

4
0

마이그레이션 롤백

php artisan migrate:rollback
3
0

레일 롤백 여러 마이그레이션

rake db:rollback STEP=n 
# n = how many migrations you want to rollback
1
0

laravel make 마이그레이션

php artisan make:migration CreateUsersTable
1
0

라라벨 마이그레이션 롤백

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
1
0

php 장인 참조 마지막 마이그레이션

php artisan migrate:status
-2
0

레일 db:롤백

rake db:rollback VERSION=n
# n = the version you want to rollback to

다른 언어로

이 페이지는 다른 언어로되어 있습니다

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................