pubpub / platform

Open-source technology for creating full-stack knowledge applications for communities of all types.
https://knowledgefutures.org/pubpub
GNU General Public License v2.0
21 stars 2 forks source link

Read from new memberships tables #755

Closed kalilsn closed 4 days ago

kalilsn commented 1 week ago

Issue(s) Resolved

718

High-level Explanation of PR

This is part 2 of our expand and contract migration series, to be merged only after #1 is successfully deployed.

Now that we've made sure the application is writing to the new tables (in addition to the old ones) we can copy data into the new tables and be certain that they will be in sync with the old tables as part of the migration. Since the code changes in this PR will be deployed only after the migration succeeds, we can then immediately start reading exclusively from the new tables, which is what the rest of the changes in this PR accomplish: