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

7 lines
246 B
MySQL
Raw Permalink Normal View History

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