Skip to content

Commit d46d2d3

Browse files
authored
Fix for mariadb driver (#464)
1 parent fef5b8e commit d46d2d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Models/Translation.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public function scopeSelectDistinctGroup($query)
4242

4343
switch (DB::getDriverName()){
4444
case 'mysql':
45+
case 'mariadb':
4546
$select = 'DISTINCT `group`';
4647
break;
4748
default:

0 commit comments

Comments
 (0)