Skip to content

Commit 45bd8e8

Browse files
authored
Merge pull request #544 from herewithme/patch-1
Bug à l'installation avec mariadb (et non mysql)
2 parents 6e7f43e + 6177da8 commit 45bd8e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/migrations/2024_06_27_123923_add_control_measure_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function up(): void
2626
}
2727

2828
if (DB::getDriverName() !== 'pgsql') {
29-
if (DB::getDriverName() == 'mysql')
29+
if (DB::getDriverName() == 'mysql' || DB::getDriverName() == 'mariadb')
3030
Schema::table('controls', function (Blueprint $table) {
3131
$table->dropForeign(['domain_id']);
3232
$table->dropForeign(['measure_id']);

0 commit comments

Comments
 (0)