aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands/dbupdate.py
diff options
context:
space:
mode:
authorEmily O'Leary <Emma.C.Echo@gmail.com>2013-06-27 17:05:25 -0400
committerEmily O'Leary <Emma.C.Echo@gmail.com>2013-06-27 17:05:25 -0400
commit6db23bd9b6cb9198a516065988d64c5322f9f175 (patch)
tree794b8098568fd20e096bf31a2849f9df32e34e70 /mediagoblin/gmg_commands/dbupdate.py
parent4a698535bc97b37c8eb42ffea2cc3e7bd48565e6 (diff)
downloadmediagoblin-6db23bd9b6cb9198a516065988d64c5322f9f175.tar.lz
mediagoblin-6db23bd9b6cb9198a516065988d64c5322f9f175.tar.xz
mediagoblin-6db23bd9b6cb9198a516065988d64c5322f9f175.zip
Updated comments for run_all_migrations and config_spec.ini.
Diffstat (limited to 'mediagoblin/gmg_commands/dbupdate.py')
-rw-r--r--mediagoblin/gmg_commands/dbupdate.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/mediagoblin/gmg_commands/dbupdate.py b/mediagoblin/gmg_commands/dbupdate.py
index 1d9bbf1e..22ad426c 100644
--- a/mediagoblin/gmg_commands/dbupdate.py
+++ b/mediagoblin/gmg_commands/dbupdate.py
@@ -118,8 +118,12 @@ def run_dbupdate(app_config, global_config):
def run_all_migrations(db, app_config, global_config):
"""
- Moved the migration part of run_dbupdate to a separate function so
- it can be used to initialize the database during tests.
+ Initializes or migrates a database that already has a
+ connection setup and also initializes or migrates all
+ extensions based on the config files.
+
+ It can be used to initialize an in-memory database for
+ testing.
"""
# Gather information from all media managers / projects
dbdatas = gather_database_data(