This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commits on May 27, 2022
-
Remove redundant references to
event_edges.room_id
We don't need to care about the room_id here, because we are already checking the event id.
Configuration menu - View commit details
-
Copy full SHA for eaa47cf - Browse repository at this point
Copy the full SHA eaa47cfView commit details -
Clean up the event_edges table
We make a number of changes to `event_edges`: * We give the `room_id` and `is_state` columns defaults (null and false respectively) so that we can stop populating them. * We drop any rows that have `is_state` set true - they should no longer exist. * We drop any rows that do not exist in `events` - these should not exist either. * We drop the old unique constraint on all the colums, which wasn't much use. * We create a new unique index on `(event_id, prev_event_id)`. * We add a foreign key constraint to `events`. These happen rather differently depending on whether we are on Postgres or SQLite. For SQLite, we just rebuild the whole table, copying only the rows we want to keep. For Postgres, we try to do things in the background as much as possible.
Configuration menu - View commit details
-
Copy full SHA for 4bc172f - Browse repository at this point
Copy the full SHA 4bc172fView commit details -
Stop populateing
event_edges.room_id
andis_state
We can just rely on the defaults.
Configuration menu - View commit details
-
Copy full SHA for 9c70e88 - Browse repository at this point
Copy the full SHA 9c70e88View commit details -
Configuration menu - View commit details
-
Copy full SHA for d885adc - Browse repository at this point
Copy the full SHA d885adcView commit details
Commits on May 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for aa3a170 - Browse repository at this point
Copy the full SHA aa3a170View commit details -
Configuration menu - View commit details
-
Copy full SHA for b301385 - Browse repository at this point
Copy the full SHA b301385View commit details
Commits on Jun 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 62861e6 - Browse repository at this point
Copy the full SHA 62861e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c074c49 - Browse repository at this point
Copy the full SHA c074c49View commit details
Commits on Jun 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f7607e9 - Browse repository at this point
Copy the full SHA f7607e9View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.