Skip to content

Commit

Permalink
Fix: Account type refactoring CoreData migration (#627)
Browse files Browse the repository at this point in the history
### Description

Please explain the changes you made here.

### Checklist

- [ ] Created tests which fail without the change (if possible)
- [ ] All tests passing
- [ ] Extended the documentation, if necessary
  • Loading branch information
Rotheem authored Dec 4, 2024
1 parent 8196515 commit 66e7531
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def initialize_module_visibility(
# Is run to create default module visibilities or when the table is empty
if new_modules:
hyperion_error_logger.info(
"Startup: Some modules visibility settings are empty, initializing them",
f"Startup: Some modules visibility settings are empty, initializing them ({[module.root for module in new_modules]})",
)
for module in new_modules:
if module.default_allowed_groups_ids is not None:
Expand Down
2 changes: 1 addition & 1 deletion migrations/versions/26-account_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def upgrade() -> None:
).values(
[
{
"schema": "module_awareness",
"schema": ModuleVisibilityAwareness.__name__,
"data": module_awareness.model_dump_json(),
},
],
Expand Down

0 comments on commit 66e7531

Please sign in to comment.