Skip to content

Commit 291f063

Browse files
odesenfanshoh
authored andcommitted
[DB] Create indexes in debug mode
Indexes should be created in all execution modes.
1 parent 6e19f13 commit 291f063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aleph/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def main(args):
177177
config_values = config.dump_values()
178178

179179
LOGGER.debug("Initializing database")
180-
model.init_db(config, ensure_indexes=(not args.debug))
180+
model.init_db(config, ensure_indexes=True)
181181
LOGGER.info("Database initialized.")
182182

183183
# filestore.init_store(config)

0 commit comments

Comments
 (0)