|
@@ -46,6 +46,7 @@ class InitializeDBCommand(AppContextCommand):
|
46
|
46
|
config_uri = parsed_args.config_file
|
47
|
47
|
setup_logging(config_uri)
|
48
|
48
|
settings = get_appsettings(config_uri)
|
|
49
|
+ settings.update(settings.global_conf)
|
49
|
50
|
self._create_schema(settings)
|
50
|
51
|
self._populate_database(settings, add_test_data=parsed_args.test_data)
|
51
|
52
|
|
|
@@ -113,6 +114,7 @@ class DeleteDBCommand(AppContextCommand):
|
113
|
114
|
config_uri = parsed_args.config_file
|
114
|
115
|
setup_logging(config_uri)
|
115
|
116
|
settings = get_appsettings(config_uri)
|
|
117
|
+ settings.update(settings.global_conf)
|
116
|
118
|
engine = get_engine(settings)
|
117
|
119
|
app_config = CFG(settings)
|
118
|
120
|
app_config.configure_filedepot()
|