1 alter table person add column matrix_user_id text;
4 set matrix_user_id = lu.matrix_user_id
6 where p.id = lu.person_id;
8 alter table local_user drop column matrix_user_id;
10 -- Regenerate the person_alias views
11 drop view person_alias_1, person_alias_2;
12 create view person_alias_1 as select * from person;
13 create view person_alias_2 as select * from person;