lemmy/migrations/2023-06-27-065106_add_ui_settings/up.sql
Domenic Horner f9351b6512
UI Settings - Blur NSFW & Auto Expand (#3377)
* add new flag to api

* add new ui settings for local user

* remove extraneous def

* add props to application reg.

* fix clippy updated these

* re-order db schema entries

* remove dupe

* update lemmy sdk

* update lemmy js client

---------

Co-authored-by: Nutomic <me@nutomic.com>
2023-07-26 07:53:45 -04:00

6 lines
273 B
SQL

-- Add the blur_nsfw to the local user table as a setting
alter table local_user add column blur_nsfw boolean not null default true;
-- Add the auto_expand to the local user table as a setting
alter table local_user add column auto_expand boolean not null default false;