Skip to content

Commit

Permalink
Fix: moving goals to todo caused mass duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
Volmarg committed Oct 12, 2020
1 parent bb48088 commit 5d94daf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Migrations/Version20200912025220.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ public function up(Schema $schema) : void
JOIN module m
ON m.name = 'My Goals'
GROUP BY g.id
)
");

Expand All @@ -98,6 +100,8 @@ public function up(Schema $schema) : void
JOIN my_goal_subgoal mgs
ON mgs.my_goal_id = g.id
GROUP BY g.id, mgs.id
)
");

Expand Down

0 comments on commit 5d94daf

Please sign in to comment.