Commit 2666b969 by David Baumgold

Change mitx.db to edx.db for dev sqlite

parent 39f4cb80
......@@ -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'
},
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment