Skip to content

Commit

Permalink
Merge pull request laravel#818 from SPie/issue-775
Browse files Browse the repository at this point in the history
Using migrate:fresh instead of migrate for DatabaseMigrations
  • Loading branch information
taylorotwell authored Oct 3, 2018
2 parents 2a85d2b + 056c729 commit ad95377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Testing/DatabaseMigrations.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ trait DatabaseMigrations
*/
public function runDatabaseMigrations()
{
$this->artisan('migrate');
$this->artisan('migrate:fresh');

$this->beforeApplicationDestroyed(function () {
$this->artisan('migrate:rollback');
Expand Down

0 comments on commit ad95377

Please sign in to comment.