From f5825db70f3cfbfa32905a34bec85f1e14789973 Mon Sep 17 00:00:00 2001 From: Fernando A Castro <25346182+webfer@users.noreply.github.com> Date: Tue, 23 Jul 2024 22:08:00 +0200 Subject: [PATCH] Update settings.php.j2 feat: setting the MySQL transaction isolation level in settings.php.j2 template --- templates/settings.php.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/settings.php.j2 b/templates/settings.php.j2 index bd7ad99..331aeda 100644 --- a/templates/settings.php.j2 +++ b/templates/settings.php.j2 @@ -11,6 +11,9 @@ $databases['{{ key }}']['{{ target }}'] = array( 'database' => '{{ values.database }}', 'username' => '{{ values.username }}', 'password' => '{{ values.password }}', + 'init_commands' => [ + 'isolation_level' => '{{ values.isolevel }}', + ], ); {% endfor %}