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

sqlite foreign key & db fixes #66

Merged
merged 1 commit into from
May 9, 2024
Merged

Conversation

btylerburton
Copy link
Contributor

  • Adds foreign key constraints to sqlite.
  • fixes tests;
  • adds db.create_all to flask app init;
  • fixes dependency update script;
  • runs update;

About

Issue noticed after make clean that tables were not getting created on app init. Also noticed that foreign key constraints were not respected in tests.

PR TASKS

  • The actual code changes.
  • Tests written and passed.
  • Any changes to docs?
  • Bumped version number in pyproject.toml (also checked on PyPi).

…l to flask app init; fixes dependency update script; runs update;
@btylerburton btylerburton requested review from a team and removed request for a team May 9, 2024 19:29
@btylerburton
Copy link
Contributor Author

based on this failed action run there is still some work to be done on actions setup with env vars. going to merge this anyway though as it fixes the db issues

https://github.com/GSA/datagov-harvesting-logic/actions/runs/9022796421/job/24793348195

@btylerburton btylerburton merged commit c132b4a into main May 9, 2024
5 of 6 checks passed
@btylerburton btylerburton deleted the fix-sqlite-fq-constraints branch May 9, 2024 20:08
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.

2 participants