lemmy/migrations/2023-05-10-095739_force_enable_undetermined_language/up.sql
Nutomic 8410a9696e
Force enable undetermined language (#2851)
* Force enable undetermined language

* update

* fix tests
2023-05-18 16:34:21 +02:00

4 lines
203 B
SQL

-- 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;