Skip to content

Commit

Permalink
Merge pull request #11 from 42coders/bugfix/fix-migration-down
Browse files Browse the repository at this point in the history
fix migration down method in adding table prefixes
  • Loading branch information
Max-Hutschenreiter committed Aug 31, 2021
2 parents d3fe866 + fdd1a63 commit b07db07
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ public function up()
*/
public function down()
{
Schema::dropIfExists('tasks');
Schema::dropIfExists(config('workflows.db_prefix').'tasks');
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ public function up()
*/
public function down()
{
Schema::dropIfExists('workflows');
Schema::dropIfExists(config('workflows.db_prefix').'workflows');
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ public function up()
*/
public function down()
{
Schema::dropIfExists('task_logs');
Schema::dropIfExists(config('workflows.db_prefix').'task_logs');
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ public function up()
*/
public function down()
{
Schema::dropIfExists('triggers');
Schema::dropIfExists(config('workflows.db_prefix').'triggers');
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ public function up()
*/
public function down()
{
Schema::dropIfExists('workflow_logs');
Schema::dropIfExists(config('workflows.db_prefix').'workflow_logs');
}
}

0 comments on commit b07db07

Please sign in to comment.