From: Hwankyu Jhun Date: Wed, 10 Apr 2019 06:29:09 +0000 (+0900) Subject: Adjust 30004 upgrade script X-Git-Tag: submit/tizen/20190416.100651~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F39%2F203139%2F1;p=platform%2Fcore%2Fappfw%2Fpkgmgr-tool.git Adjust 30004 upgrade script The component info table is removed. Change-Id: I82a411df1cdd09864034a9676f1f4bc30feae870 Signed-off-by: Hwankyu Jhun --- diff --git a/data/updates/upgrade_to_30004.sh.in b/data/updates/upgrade_to_30004.sh.in index a66c406..d1214e2 100644 --- a/data/updates/upgrade_to_30004.sh.in +++ b/data/updates/upgrade_to_30004.sh.in @@ -24,15 +24,6 @@ function migrate_parser_db() { " plugin_type TEXT NOT NULL,\n" \ " plugin_name TEXT NOT NULL);" | sqlite3 $dbpath - echo -e "CREATE TABLE IF NOT EXISTS package_app_component_info (\n" \ - " app_id TEXT NOT NULL,\n" \ - " component_id TEXT NOT NULL,\n" \ - " type TEXT NOT NULL,\n" \ - " launch_mode TEXT NOT NULL,\n" \ - " PRIMARY KEY(app_id, component_id)\n" \ - " FOREIGN KEY(app_id)\n" \ - " REFERENCES package_app_info(app_id) ON DELETE CASCADE);" | sqlite3 $dbpath - echo "PRAGMA user_version=30004;" | sqlite3 $dbpath }