From ef085b6f09db7b79ef6979b4261ff3081d4a1924 Mon Sep 17 00:00:00 2001 From: Kyuho Jo Date: Sun, 17 May 2015 18:26:45 +0900 Subject: [PATCH] Fix a bug on creating DB table for system setting. Change-Id: I6f5a8a8584b812dcc4ed586658d16b49c1b6d675 Signed-off-by: Kyuho Jo --- packaging/notification.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/notification.spec b/packaging/notification.spec index 0e0d972..a021790 100644 --- a/packaging/notification.spec +++ b/packaging/notification.spec @@ -1,6 +1,6 @@ Name: notification Summary: notification library -Version: 0.2.31 +Version: 0.2.32 Release: 1 Group: TBD License: Apache @@ -183,7 +183,7 @@ then priv_id INTERGER PRIMARY KEY, do_not_disturb INTEGER DEFAULT 0, visibility_class INTEGER DEFAULT 0, - UNIQUE (priv_id, package_name) + UNIQUE (priv_id) ); INSERT INTO notification_setting (priv_id, package_name, allow_to_notify, do_not_disturb_except, visibility_class) VALUES (1, "org.tizen.photos", 1, 0, 0); @@ -191,7 +191,7 @@ then INSERT INTO notification_setting (priv_id, package_name, allow_to_notify, do_not_disturb_except, visibility_class) VALUES (3, "org.tizen.message", 1, 0, 0); INSERT INTO notification_setting (priv_id, package_name, allow_to_notify, do_not_disturb_except, visibility_class) VALUES (4, "org.tizen.internet", 1, 0, 0); INSERT INTO notification_setting (priv_id, package_name, allow_to_notify, do_not_disturb_except, visibility_class) VALUES (5, "org.tizen.games", 1, 0, 0); - INSERT INTO notification_system_setting (do_not_disturb, visibility_class) VALUES (0, 0, 0); + INSERT INTO notification_system_setting (priv_id, do_not_disturb, visibility_class) VALUES (0, 0, 0); CREATE UNIQUE INDEX package_name_idx1 ON notification_setting (package_name); ' -- 2.7.4