diff options
author | Kyuho Jo <kyuho.jo@samsung.com> | 2015-05-17 18:26:45 +0900 |
---|---|---|
committer | Kyuho Jo <kyuho.jo@samsung.com> | 2015-05-17 18:26:45 +0900 |
commit | ef085b6f09db7b79ef6979b4261ff3081d4a1924 (patch) | |
tree | 5c5dba93d2d8916c4dec8cb4b8065f3f3e1020eb | |
parent | 606bf861df1627f6c29b64dc22418d2b3ba58ffa (diff) | |
download | notification-ef085b6f09db7b79ef6979b4261ff3081d4a1924.tar.gz notification-ef085b6f09db7b79ef6979b4261ff3081d4a1924.tar.bz2 notification-ef085b6f09db7b79ef6979b4261ff3081d4a1924.zip |
Fix a bug on creating DB table for system setting.
Change-Id: I6f5a8a8584b812dcc4ed586658d16b49c1b6d675
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
-rw-r--r-- | packaging/notification.spec | 6 |
1 files 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); ' |