Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maunium
synapse
Commits
1b37107c
Commit
1b37107c
authored
4 years ago
by
Patrick Cloke
Browse files
Options
Downloads
Patches
Plain Diff
Add upgrade notes about chain cover.
parent
c8e6e058
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
UPGRADE.rst
+12
-8
12 additions, 8 deletions
UPGRADE.rst
with
12 additions
and
8 deletions
UPGRADE.rst
+
12
−
8
View file @
1b37107c
...
...
@@ -104,25 +104,29 @@ back to v1.25.0 you need to:
UPDATE schema_version SET version = 58;
3. Delete the ignored users data:
3. Delete the ignored users
& chain cover
data:
If using PostgreSQL:
.. code:: sql
.. code:: sql
DROP TABLE IF EXISTS ignored_users;
UPDATE rooms SET has_auth_chain_index = false;
TRUNCATE TABLE ignored_users;
For PostgreSQL run:
If using SQLite:
TRUNCATE event_auth_chain_links;
TRUNCATE event_auth_chains;
.. code:: sql
For SQLite run:
DELETE FROM ignored_users;
DELETE FROM event_auth_chain_links;
DELETE FROM event_auth_chains;
4. Mark the
ignored user
delta as not run (so
i
t will re-run on upgrade).
4. Mark the delta
s
as not run (so t
hey
will re-run on upgrade).
.. code:: sql
DELETE FROM applied_schema_deltas WHERE version = 59 AND file = "59/01ignored_user.py";
DELETE FROM applied_schema_deltas WHERE version = 59 AND file = "59/06chain_cover_index.sql";
5. Downgrade Synapse by following the instructions for your installation method
in the "Rolling back to older versions" section above.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment