We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc6e023 commit e5a6d23Copy full SHA for e5a6d23
doc/source/operations/upgrading.rst
@@ -132,13 +132,13 @@ Some things to watch out for:
132
133
.. code-block:: sql
134
135
- UPDATE trust_role
+ UPDATE trust_role as tr
136
SET role_id = '<MEMBER-ROLE-ID>'
137
WHERE role_id = '<OLD-ROLE-ID>'
138
AND NOT EXISTS (
139
SELECT 1
140
FROM trust_role
141
- WHERE trust_id = trust_role.trust_id
+ WHERE trust_id = tr.trust_id
142
AND role_id = '<MEMBER-ROLE-ID>'
143
);
144
0 commit comments