mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
9 lines
206 B
MySQL
9 lines
206 B
MySQL
|
alter table person add column matrix_user_id text;
|
||
|
|
||
|
update person p
|
||
|
set matrix_user_id = lu.matrix_user_id
|
||
|
from local_user lu
|
||
|
where p.id = lu.person_id;
|
||
|
|
||
|
alter table local_user drop column matrix_user_id;
|