Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Fix update_db_sample_data setup sequence #192

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hinxcode
Copy link
Member

Reordering setup steps

  • Moved the setup_utility_resources() call to occur after setup_user_details().
  • Without this adjustment, calling populate_checklists would trigger the insert_user_checklists_for_all_users trigger before user data has been set up, resulting in a failure to correctly insert into the user_checklists table.

@hinxcode hinxcode changed the title chore: Fix setup sequence chore: Fix update_db_sample_data setup sequence Nov 18, 2024
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant