Get rid of mysql strict trans mode warnings

This commit is contained in:
Régis Behmo 2019-10-07 16:41:00 +02:00
parent c501123e5d
commit 8f7c60ed13
2 changed files with 4 additions and 1 deletions

View File

@ -1 +1 @@
__version__ = "0.1.6"
__version__ = "0.1.7"

View File

@ -12,6 +12,9 @@ DATABASES = {
"PASSWORD": "{{ DISCOVERY_MYSQL_PASSWORD }}",
"HOST": "{{ MYSQL_HOST }}",
"PORT": "{{ MYSQL_PORT }}",
"OPTIONS": {
"init_command": "SET sql_mode='STRICT_TRANS_TABLES'",
},
}
}