fix alarmmgr_upgrade script 46/100846/1 accepted/tizen/3.0/common/20161130.065256 accepted/tizen/3.0/ivi/20161130.012621 accepted/tizen/3.0/mobile/20161130.012507 accepted/tizen/3.0/tv/20161130.012546 accepted/tizen/3.0/wearable/20161130.012603 submit/tizen_3.0/20161129.101050
authorJiwoong Im <jiwoong.im@samsung.com>
Tue, 29 Nov 2016 10:52:19 +0000 (19:52 +0900)
committerJiwoong Im <jiwoong.im@samsung.com>
Tue, 29 Nov 2016 10:52:19 +0000 (19:52 +0900)
- add missing column

Change-Id: Ic86091d71f6d81b8aa98a1b00f6cccd5f73cea52
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
scripts/108.alarmmgr_upgrade.sh

index 9fa5dfd..b81adab 100755 (executable)
@@ -28,6 +28,8 @@ CREATE TABLE alarmmgr_temp (
        app_service_name text,
        app_service_name_mod text,
        bundle text,
+       noti_len integer,
+       noti text,
        year integer,
        month integer,
        day integer,
@@ -56,7 +58,7 @@ INSERT INTO alarmmgr_temp \
        alarm_type, reserved_info, dst_service_name, dst_service_name_mod \
        FROM alarmmgr;
 
-UPDATE alarmmgr_temp SET uid=5001,global=0,is_disabled=0;
+UPDATE alarmmgr_temp SET uid=5001,global=0,is_disabled=0,noti_len=4,noti="null";
 DROP TABLE alarmmgr;
 ALTER TABLE alarmmgr_temp RENAME TO alarmmgr;