From: Sangyoon Jang Date: Fri, 1 Feb 2019 07:24:37 +0000 (+0900) Subject: Fix upgrade_to_30002.sh script X-Git-Tag: accepted/tizen/unified/20190218.163224~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1da84c4c6fae848e7bba2208efba0b015e7c31a2;p=platform%2Fcore%2Fappfw%2Fpkgmgr-tool.git Fix upgrade_to_30002.sh script Add setting db version as 30002. Change-Id: Ibb7b8f05a65d18bc8613d6d7e4c29412432603fb Signed-off-by: Sangyoon Jang --- diff --git a/data/updates/upgrade_to_30002.sh.in b/data/updates/upgrade_to_30002.sh.in index 9576898..6e19fb6 100644 --- a/data/updates/upgrade_to_30002.sh.in +++ b/data/updates/upgrade_to_30002.sh.in @@ -10,6 +10,8 @@ function migrate_parser_db() { local dbpath=$1 echo -e "ALTER TABLE package_app_app_control ADD visibility TEXT NOT NULL DEFAULT 'local-only'" | sqlite3 $dbpath + + echo "PRAGMA user_version=30002;" | sqlite3 $dbpath } function migrate_user_db() {