Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fey committed Mar 28, 2024
1 parent edbadcd commit 3f6ea0c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions database/migrations/2024_03_28_104056_fix_points_of_users.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,4 @@ public function up(): void
DB::statement("UPDATE users SET points = ((SELECT count(user_id) FROM exercise_members em WHERE em.user_id = users.id AND state = 'finished') * 3);");
DB::statement("UPDATE users SET points = points + (SELECT count(user_id) FROM chapter_members em WHERE em.user_id = users.id AND state = 'finished');");
}

/**
* Reverse the migrations.
*/
public function down(): void
{
}
};

0 comments on commit 3f6ea0c

Please sign in to comment.