laravel-useful-additions
laravel-useful-additions copied to clipboard
A collection of useful Laravel additions!
In the DatabaseMigrations trait: ```php /** * Define hooks to migrate the database before and after each test. * * @return void */ public function runDatabaseMigrations() { $this->beforeRefreshingDatabase(); $this->refreshTestDatabase(); $this->afterRefreshingDatabase();...
When refresh_db_fast.seed is enabled, the seeders folder should not be excluded for checksum calculation. So when there is a change in seeders, the db should be seeded on the next...