mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-23 03:11:32 +00:00
Forgot to regenerate person_alias views
This commit is contained in:
parent
1745b64ceb
commit
53ea383b4e
2 changed files with 10 additions and 0 deletions
|
@ -5,4 +5,9 @@ set matrix_user_id = p.matrix_user_id
|
||||||
from person p
|
from person p
|
||||||
where p.id = lu.person_id;
|
where p.id = lu.person_id;
|
||||||
|
|
||||||
|
drop view person_alias_1, person_alias_2;
|
||||||
alter table person drop column matrix_user_id;
|
alter table person drop column matrix_user_id;
|
||||||
|
|
||||||
|
-- Regenerate the person_alias views
|
||||||
|
create view person_alias_1 as select * from person;
|
||||||
|
create view person_alias_2 as select * from person;
|
||||||
|
|
|
@ -6,3 +6,8 @@ from local_user lu
|
||||||
where p.id = lu.person_id;
|
where p.id = lu.person_id;
|
||||||
|
|
||||||
alter table local_user drop column matrix_user_id;
|
alter table local_user drop column matrix_user_id;
|
||||||
|
|
||||||
|
-- Regenerate the person_alias views
|
||||||
|
drop view person_alias_1, person_alias_2;
|
||||||
|
create view person_alias_1 as select * from person;
|
||||||
|
create view person_alias_2 as select * from person;
|
||||||
|
|
Loading…
Reference in a new issue