Add migrations to fix broken relations before rel-db#3283
Add migrations to fix broken relations before rel-db#3283hjanott merged 9 commits intoOpenSlides:pre-4.3.0-migrationsfrom
Conversation
|
That will not be necessary since this migration is just meant as a preparation of migration 100. That itself will not keep any of the projection relations as they are 1:n-relations with the 1-side on the projection. |
If that's so I guess it's fine |
|
I added migration 0077. I didn't touch my change request for 0067 though. |
| events: list[BaseRequestEvent] = [] | ||
| for id_, data in all_existing_groups.items(): | ||
| if remove_meeting_user_ids := set( | ||
| data.get("meeting_user_ids", []) |
There was a problem hiding this comment.
get(...)'s return value can be None.
I quickfixed it locally by adding get(...) or [].
Please fix in your preferred way.
luisa-beerboom
left a comment
There was a problem hiding this comment.
I edited the 76 tests myself. They're okay now in my book.
Everything after 76 is my work, so I'm taking the liberty of assigning @vkrasnovyd to review that.
* add migration 75 through 78 --------- Co-authored-by: Luisa <luisa.beerboom@intevation.de>
* add migration 75 through 78 --------- Co-authored-by: Luisa <luisa.beerboom@intevation.de>
No description provided.