Adjust 30004 upgrade script 39/203139/1
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 10 Apr 2019 06:29:09 +0000 (15:29 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 10 Apr 2019 06:29:09 +0000 (15:29 +0900)
The component info table is removed.

Change-Id: I82a411df1cdd09864034a9676f1f4bc30feae870
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
data/updates/upgrade_to_30004.sh.in

index a66c406..d1214e2 100644 (file)
@@ -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
 }