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

Create member tables has missing dependency between communities and requests #918

Open
jurajtrappl opened this issue Mar 10, 2023 · 0 comments

Comments

@jurajtrappl
Copy link

Package version (if known): 4.1.2

Describe the bug

There is a missing dependency between request_metadata and invenio communities db tables.
The bug happens when I try to create member tables (fbe746957cfc_create_member_tables.py). Therefore the process is not able to create the FK fk_communities_members_request_id_request_metadata.

Steps to Reproduce

It is non-deterministic and depends on the alembic entrypoints load order (communities and then requests or vice versa)

Additional context

Workaround:
Use the revision a14fa442680f and then upgrade heads.

pipenv run invenio alembic upgrade a14fa442680f
pipenv run invenio alembic upgrade heads
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

No branches or pull requests

1 participant