File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ $class::select('foo')->fromYesterday()->first()->toArray(); // return ['foo' =>
125125This is a trait which makes the migration of your database in your test suite much, ** much faster** !
126126The base idea comes from [ Mayahi] ( https://mayahi.net/laravel/make-refresh-database-trait-much-faster/ ) .
127127It basically ** only** migrates your database if the ** migration** files has ** changed** .
128- So the first ` migrate:fresh ` takes awhile (depending on how many migrations you have), and then it's incredible fast.
128+ So the first ` migrate:fresh ` takes a while (depending on how many migrations you have), and then it's incredible fast.
129129
130130Optionally you can set ` USEFUL_TRAITS_SEED_AFTER_FAST_DB_REFRESH ` to ` true ` if you like to seed your database after the migration.
131131
You can’t perform that action at this time.
0 commit comments