mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-13 12:31:09 +00:00
8 lines
205 B
SQL
8 lines
205 B
SQL
alter table local_user add column matrix_user_id text;
|
|
|
|
update local_user lu
|
|
set matrix_user_id = p.matrix_user_id
|
|
from person p
|
|
where p.id = lu.person_id;
|
|
|
|
alter table person drop column matrix_user_id;
|