Skip to content

Commit

Permalink
legacymigrate: fix members_fetched field
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Nov 25, 2024
1 parent 612377f commit 28b614d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/mautrix-twitter/legacymigrate.sql
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ FROM reaction_old;
-- Python -> Go mx_ table migration
ALTER TABLE mx_room_state DROP COLUMN is_encrypted;
ALTER TABLE mx_room_state RENAME COLUMN has_full_member_list TO members_fetched;
UPDATE mx_room_state SET members_fetched=false WHERE members_fetched IS NULL;

-- only: postgres until "end only"
ALTER TABLE mx_room_state ALTER COLUMN power_levels TYPE jsonb USING power_levels::jsonb;
Expand Down

0 comments on commit 28b614d

Please sign in to comment.