学習記録
2020-08-01に投稿

Laravel From Scratch

https://laracasts.com/series/laravel-6-from-scratch/episodes/30

疑問

artisanでfreshする操作とrefreshする操作の違いがわからない。

調べたこと

helpを読む

$ php artisan help migrate:fresh
Description:
  Drop all tables and re-run all migrations
(略)
$ php artisan help migrate:refresh
Description:
  Reset and re-run all migrations
(略)

まだ分からないのでドキュメントを読んだところ、
ロールバックするか(refresh)、テーブルをドロップするか(fresh)の違いがあるようだ。


dychw
学習記録
所有者限定モードのためこのボードには投稿できません
コメント
学習記録