From 15ba0a7ea639257ee9e19f3534655a468f38c737 Mon Sep 17 00:00:00 2001
From: Jan-Hendrik Willms <tleilax+studip@gmail.com>
Date: Fri, 28 Feb 2025 12:27:47 +0100
Subject: [PATCH] fix sql mode

---
 lib/Commands/Compile.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/Commands/Compile.php b/lib/Commands/Compile.php
index c203ff6..a8676c3 100644
--- a/lib/Commands/Compile.php
+++ b/lib/Commands/Compile.php
@@ -166,6 +166,7 @@ final class Compile extends Command
         // DB
         $creator->addService('db', 'mariadb', [
             'container_name' => 'db',
+            'command'        => '--sql_mode="NO_ENGINE_SUBSTITUTION"',
             'ports'          => ['3306:3306'],
             'restart'        => 'unless-stopped',
             'volumes'        => ['db-data:/var/lib/mysql'],
-- 
GitLab