Merge pull request #1879 from edx/db/mitx-edx-sqlite
Change mitx.db to edx.db for dev sqlite
This commit is contained in:
@@ -5,6 +5,10 @@ These are notable changes in edx-platform. This is a rolling list of changes,
|
||||
in roughly chronological order, most recent first. Add your entries at or near
|
||||
the top. Include a label indicating the component affected.
|
||||
|
||||
Common: Switch from mitx.db to edx.db for sqlite databases. This will effectively
|
||||
reset state for local instances of the code, unless you manually rename your
|
||||
mitx.db file to edx.db.
|
||||
|
||||
Blades: Video Transcripts: Fix clear and download buttons. BLD-438.
|
||||
|
||||
Common: Switch over from MITX_FEATURES to just FEATURES. To override items in
|
||||
|
||||
@@ -71,7 +71,7 @@ CONTENTSTORE = {
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': ENV_ROOT / "db" / "mitx.db",
|
||||
'NAME': ENV_ROOT / "db" / "edx.db",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -155,7 +155,7 @@ def initial_setup(server):
|
||||
def reset_data(scenario):
|
||||
"""
|
||||
Clean out the django test database defined in the
|
||||
envs/acceptance.py file: mitx_all/db/test_mitx.db
|
||||
envs/acceptance.py file: edx-platform/db/test_edx.db
|
||||
"""
|
||||
LOGGER.debug("Flushing the test database...")
|
||||
call_command('flush', interactive=False, verbosity=0)
|
||||
|
||||
@@ -55,7 +55,7 @@ LOGGING = get_logger_config(ENV_ROOT / "log",
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': ENV_ROOT / "db" / "mitx.db",
|
||||
'NAME': ENV_ROOT / "db" / "edx.db",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ LOGGING = get_logger_config(ENV_ROOT / "log",
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': ENV_ROOT / "db" / "mitx.db",
|
||||
'NAME': ENV_ROOT / "db" / "edx.db",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -130,7 +130,7 @@ DOC_STORE_CONFIG = {
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': TEST_ROOT / 'db' / 'mitx.db'
|
||||
'NAME': TEST_ROOT / 'db' / 'edx.db'
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user