Skip to content

Fix alembic migrations - #1377

Closed
mesemus wants to merge 1 commit into
inveniosoftware:masterfrom
oarepo:fix-alembic-migrations
Closed

Fix alembic migrations#1377
mesemus wants to merge 1 commit into
inveniosoftware:masterfrom
oarepo:fix-alembic-migrations

Conversation

@mesemus

@mesemus mesemus commented Apr 26, 2026

Copy link
Copy Markdown
Contributor

Description

This PR fixes alembic problems in migrations of invenio-communities:

  • adds linearization of the order of migrations that was having problems with the change of accounts_role from integer to string
  • adds missing migrations
  • adds tests for migrations

See inveniosoftware/product-rdm#242 for details.

Checklist

Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

Frontend

Reminder

By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

  1. You license your contribution under the same terms as the current repository’s license.
  2. You agree that you have the right to license your contribution under the current repository’s license.

* we have created reverse dependency from invenio_accounts,
  so this one should be as dependency and not down revision
  as well.
* added missing alembic migration
* added alembic tests
@utnapischtim

Copy link
Copy Markdown
Contributor

combined with #1355 into #1385

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