Add background mail checking and new mail notifications
This commit is contained in:
@@ -46,6 +46,22 @@ CREATE TABLE IF NOT EXISTS `ident_switch`
|
||||
smallint
|
||||
NOT NULL
|
||||
DEFAULT 1,
|
||||
`notify_check`
|
||||
smallint
|
||||
NOT NULL
|
||||
DEFAULT 1,
|
||||
`notify_basic`
|
||||
smallint
|
||||
DEFAULT NULL,
|
||||
`notify_sound`
|
||||
smallint
|
||||
DEFAULT NULL,
|
||||
`notify_desktop`
|
||||
smallint
|
||||
DEFAULT NULL,
|
||||
`notify_sound_url`
|
||||
varchar(255)
|
||||
DEFAULT NULL,
|
||||
`drafts_mbox`
|
||||
varchar(64),
|
||||
`sent_mbox`
|
||||
|
||||
30
SQL/mysql/2026021002.sql
Normal file
30
SQL/mysql/2026021002.sql
Normal file
@@ -0,0 +1,30 @@
|
||||
ALTER TABLE `ident_switch`
|
||||
ADD `notify_check`
|
||||
smallint
|
||||
NOT NULL
|
||||
DEFAULT 1
|
||||
AFTER `sieve_auth`;
|
||||
|
||||
ALTER TABLE `ident_switch`
|
||||
ADD `notify_basic`
|
||||
smallint
|
||||
DEFAULT NULL
|
||||
AFTER `notify_check`;
|
||||
|
||||
ALTER TABLE `ident_switch`
|
||||
ADD `notify_sound`
|
||||
smallint
|
||||
DEFAULT NULL
|
||||
AFTER `notify_basic`;
|
||||
|
||||
ALTER TABLE `ident_switch`
|
||||
ADD `notify_desktop`
|
||||
smallint
|
||||
DEFAULT NULL
|
||||
AFTER `notify_sound`;
|
||||
|
||||
ALTER TABLE `ident_switch`
|
||||
ADD `notify_sound_url`
|
||||
varchar(255)
|
||||
DEFAULT NULL
|
||||
AFTER `notify_desktop`;
|
||||
@@ -47,6 +47,22 @@ CREATE TABLE ident_switch
|
||||
smallint
|
||||
NOT NULL
|
||||
DEFAULT(1),
|
||||
notify_check
|
||||
smallint
|
||||
NOT NULL
|
||||
DEFAULT(1),
|
||||
notify_basic
|
||||
smallint
|
||||
DEFAULT NULL,
|
||||
notify_sound
|
||||
smallint
|
||||
DEFAULT NULL,
|
||||
notify_desktop
|
||||
smallint
|
||||
DEFAULT NULL,
|
||||
notify_sound_url
|
||||
varchar(255)
|
||||
DEFAULT NULL,
|
||||
drafts_mbox
|
||||
varchar(64),
|
||||
sent_mbox
|
||||
|
||||
25
SQL/postgres/2026021002.sql
Normal file
25
SQL/postgres/2026021002.sql
Normal file
@@ -0,0 +1,25 @@
|
||||
ALTER TABLE ident_switch
|
||||
ADD notify_check
|
||||
smallint
|
||||
NOT NULL
|
||||
DEFAULT 1;
|
||||
|
||||
ALTER TABLE ident_switch
|
||||
ADD notify_basic
|
||||
smallint
|
||||
DEFAULT NULL;
|
||||
|
||||
ALTER TABLE ident_switch
|
||||
ADD notify_sound
|
||||
smallint
|
||||
DEFAULT NULL;
|
||||
|
||||
ALTER TABLE ident_switch
|
||||
ADD notify_desktop
|
||||
smallint
|
||||
DEFAULT NULL;
|
||||
|
||||
ALTER TABLE ident_switch
|
||||
ADD notify_sound_url
|
||||
varchar(255)
|
||||
DEFAULT NULL;
|
||||
@@ -47,6 +47,22 @@ CREATE TABLE ident_switch
|
||||
smallint
|
||||
NOT NULL
|
||||
DEFAULT 1,
|
||||
notify_check
|
||||
smallint
|
||||
NOT NULL
|
||||
DEFAULT 1,
|
||||
notify_basic
|
||||
smallint
|
||||
DEFAULT NULL,
|
||||
notify_sound
|
||||
smallint
|
||||
DEFAULT NULL,
|
||||
notify_desktop
|
||||
smallint
|
||||
DEFAULT NULL,
|
||||
notify_sound_url
|
||||
varchar(255)
|
||||
DEFAULT NULL,
|
||||
drafts_mbox
|
||||
varchar(64),
|
||||
sent_mbox
|
||||
|
||||
25
SQL/sqlite/2026021002.sql
Normal file
25
SQL/sqlite/2026021002.sql
Normal file
@@ -0,0 +1,25 @@
|
||||
ALTER TABLE ident_switch
|
||||
ADD notify_check
|
||||
smallint
|
||||
NOT NULL
|
||||
DEFAULT 1;
|
||||
|
||||
ALTER TABLE ident_switch
|
||||
ADD notify_basic
|
||||
smallint
|
||||
DEFAULT NULL;
|
||||
|
||||
ALTER TABLE ident_switch
|
||||
ADD notify_sound
|
||||
smallint
|
||||
DEFAULT NULL;
|
||||
|
||||
ALTER TABLE ident_switch
|
||||
ADD notify_desktop
|
||||
smallint
|
||||
DEFAULT NULL;
|
||||
|
||||
ALTER TABLE ident_switch
|
||||
ADD notify_sound_url
|
||||
varchar(255)
|
||||
DEFAULT NULL;
|
||||
Reference in New Issue
Block a user