Skip to content

Commit

Permalink
Fix for mariadb driver (#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
voicecode-bv authored Nov 4, 2024
1 parent fef5b8e commit d46d2d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Models/Translation.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public function scopeSelectDistinctGroup($query)

switch (DB::getDriverName()){
case 'mysql':
case 'mariadb':
$select = 'DISTINCT `group`';
break;
default:
Expand Down

0 comments on commit d46d2d3

Please sign in to comment.