Skip to content

Commit

Permalink
commands.finalize.doc_collections:cmd_doc_collections - add UUID inde…
Browse files Browse the repository at this point in the history
…x to temporary table
  • Loading branch information
MatteoCampinoti94 committed Jan 16, 2025
1 parent b418c95 commit c578fe7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions digiarch/commands/finalize/doc_collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def cmd_doc_collections(ctx: Context, docs_in_collection: int, resume: bool, dry
statutory_files_temp = database.create_table(
database.statutory_files.model,
database.statutory_files.name + "_temp",
indices={"uuid": ["uuid"]},
)

if not dry_run:
Expand Down

0 comments on commit c578fe7

Please sign in to comment.