mirror of https://gitlab.com/litecord/litecord.git
schemas: add USER_SETTINGS.status
This commit is contained in:
parent
e1a946eb87
commit
a394c02477
|
|
@ -496,6 +496,8 @@ USER_SETTINGS = {
|
||||||
'show_current_game': {'type': 'boolean', 'required': False},
|
'show_current_game': {'type': 'boolean', 'required': False},
|
||||||
|
|
||||||
'timezone_offset': {'type': 'number', 'required': False},
|
'timezone_offset': {'type': 'number', 'required': False},
|
||||||
|
|
||||||
|
'status': {'type': 'status_external', 'required': False}
|
||||||
}
|
}
|
||||||
|
|
||||||
RELATIONSHIP = {
|
RELATIONSHIP = {
|
||||||
|
|
|
||||||
|
|
@ -134,6 +134,10 @@ CREATE TABLE IF NOT EXISTS user_settings (
|
||||||
|
|
||||||
-- appearance
|
-- appearance
|
||||||
message_display_compact bool DEFAULT false,
|
message_display_compact bool DEFAULT false,
|
||||||
|
|
||||||
|
-- for now we store status but don't
|
||||||
|
-- actively use it, since the official client
|
||||||
|
-- sends its own presence on IDENTIFY
|
||||||
status text DEFAULT 'online' NOT NULL,
|
status text DEFAULT 'online' NOT NULL,
|
||||||
theme text DEFAULT 'dark' NOT NULL,
|
theme text DEFAULT 'dark' NOT NULL,
|
||||||
developer_mode bool DEFAULT true,
|
developer_mode bool DEFAULT true,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue