enable strict mode for the database
This commit is contained in:
parent
fa681e6de6
commit
3e6da6a10a
|
@ -81,6 +81,9 @@ DATABASES = {
|
||||||
'PASSWORD': '2YKtY53F3HDDzPyExAaSh3jdVNh6VN',
|
'PASSWORD': '2YKtY53F3HDDzPyExAaSh3jdVNh6VN',
|
||||||
'HOST': '127.0.0.1',
|
'HOST': '127.0.0.1',
|
||||||
'PORT': '3306',
|
'PORT': '3306',
|
||||||
|
'OPTIONS': {
|
||||||
|
'init_command': "SET sql_mode='STRICT_TRANS_TABLES'"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue