Added an OPTIONS settings to the DATABASES setting in docker/settings_local.py, to make some migration operations work under docker.
- Legacy-Id: 17141
This commit is contained in:
parent
cbe8da6a71
commit
71883dae63
|
@ -13,8 +13,12 @@ DATABASES = {
|
|||
'ENGINE': 'django.db.backends.mysql',
|
||||
'USER': 'django',
|
||||
'PASSWORD': 'RkTkDPFnKpko',
|
||||
'OPTIONS': {
|
||||
'sql_mode': 'STRICT_TRANS_TABLES',
|
||||
'init_command': 'SET storage_engine=MyISAM; SET names "utf8"',
|
||||
},
|
||||
} # type: Dict[str, Dict[str, Collection[str]]]
|
||||
},
|
||||
} # type: Dict[str, Dict[str, Collection[str]]]
|
||||
|
||||
DATABASE_TEST_OPTIONS = {
|
||||
'init_command': 'SET storage_engine=InnoDB',
|
||||
|
|
Loading…
Reference in a new issue