lemmy/migrations/2021-04-01-173552_rename_pr.../down.sql

7 lines
246 B
MySQL
Raw Normal View History

alter table person rename display_name to preferred_username;
-- 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;