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

7 lines
246 B
MySQL
Raw Permalink 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;