added strict mode in mysql settings
This commit is contained in:
BIN
rowers/tests/testdata/testdata.csv.gz
vendored
BIN
rowers/tests/testdata/testdata.csv.gz
vendored
Binary file not shown.
@@ -156,6 +156,9 @@ DATABASES = {
|
|||||||
'PASSWORD': CFG['db_password'],
|
'PASSWORD': CFG['db_password'],
|
||||||
'HOST': CFG['db_host'],
|
'HOST': CFG['db_host'],
|
||||||
'PORT': CFG['db_port'],
|
'PORT': CFG['db_port'],
|
||||||
|
'OPTIONS': {
|
||||||
|
'init_command': "SET sql_mode='STRICT_TRANS_TABLES'"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
'slave': {
|
'slave': {
|
||||||
'ENGINE': 'django.db.backends.sqlite3',
|
'ENGINE': 'django.db.backends.sqlite3',
|
||||||
|
|||||||
Reference in New Issue
Block a user