lemmy/migrations/2023-05-10-095739_force_enable_undetermined_language/up.sql

5 lines
203 B
MySQL
Raw Normal View History

-- force enable undetermined language for all users
insert into local_user_language (local_user_id, language_id)
select id, 0 from local_user
on conflict (local_user_id, language_id) do nothing;