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

[Issue #1940] Fix factories to initialize sequence based on DB values #1941

Merged
merged 4 commits into from
May 7, 2024

Conversation

chouinar
Copy link
Collaborator

@chouinar chouinar commented May 7, 2024

Summary

Fixes #1940

Time to review: 2 mins

Changes proposed

Adjusts our factories to handle loading the values from the DB

Removes the now-duplicate code from the db-seed-local

Context for reviewers

There's currently a bug with the db-seed-local script due to how the factories setup the primary keys. If you rerun the script, it doesn't know where to start for the opportunity assistance listing table, and starts again at 1. This fixes that by making it start from the correct DB value.

rylew1
rylew1 previously approved these changes May 7, 2024
Copy link
Contributor

@rylew1 rylew1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fix and package updates! 🚀

@chouinar chouinar merged commit f7e1ffb into main May 7, 2024
8 checks passed
@chouinar chouinar deleted the chouinar/1940-factory-fix branch May 7, 2024 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Task]: Adjust factories to be able to start their sequences based on the database values
2 participants