summaryrefslogtreecommitdiff
path: root/src/notification_db.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/notification_db.c')
-rwxr-xr-xsrc/notification_db.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/notification_db.c b/src/notification_db.c
index 4e9214d..ea002ff 100755
--- a/src/notification_db.c
+++ b/src/notification_db.c
@@ -129,12 +129,13 @@ create table if not exists noti_list ( \
CREATE TABLE IF NOT EXISTS notification_setting ( \
uid INTEGER, \
package_name TEXT NOT NULL, \
+ appid TEXT NOT NULL, \
allow_to_notify INTEGER DEFAULT 1, \
do_not_disturb_except INTEGER DEFAULT 0, \
visibility_class INTEGER DEFAULT 0, \
pop_up_notification INTEGER DEFAULT 1, \
lock_screen_content_level INTEGER DEFAULT 0, \
- UNIQUE (uid, package_name) \
+ UNIQUE (uid, package_name, appid) \
); \
CREATE TABLE IF NOT EXISTS notification_system_setting ( \
uid INTEGER, \