mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 01:23:51 +01:00
SQLite and postgres doesn't share a true literal
This commit is contained in:
parent
84afeb41f3
commit
0c1a27b787
1 changed files with 1 additions and 1 deletions
|
@ -16,6 +16,6 @@
|
|||
|
||||
/* This release removes the restriction that published rooms must have an alias,
|
||||
* so we go back and ensure the only 'public' rooms are ones with an alias.*/
|
||||
UPDATE rooms SET is_public = 0 WHERE is_public = 1 AND room_id not in (
|
||||
UPDATE rooms SET is_public = (1 = 0) WHERE is_public = (1 = 1) AND room_id not in (
|
||||
SELECT room_id FROM room_aliases
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue