diff --git a/CHANGELOG.md b/CHANGELOG.md index 271e9bf..64a0435 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ Note: Breaking changes between versions are indicated by "💥". +## Unreleased + +- [Improvement] Enable Mysql strict mode + ## 3.7.1 (2019-10-06) - [Feature] Introduce tutor docker image diff --git a/tutor/templates/apps/openedx/config/partials/auth.json b/tutor/templates/apps/openedx/config/partials/auth.json index 589876f..9bca725 100644 --- a/tutor/templates/apps/openedx/config/partials/auth.json +++ b/tutor/templates/apps/openedx/config/partials/auth.json @@ -36,7 +36,10 @@ "NAME": "{{ OPENEDX_MYSQL_DATABASE }}", "USER": "{{ OPENEDX_MYSQL_USERNAME }}", "PASSWORD": "{{ OPENEDX_MYSQL_PASSWORD }}", - "ATOMIC_REQUESTS": true + "ATOMIC_REQUESTS": true, + "OPTIONS": { + "init_command": "SET sql_mode='STRICT_TRANS_TABLES'" + } } }, "EMAIL_HOST_USER": "{{ SMTP_USERNAME }}",