Add appsvc db upgrade script 00/265400/5
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 18 Oct 2021 07:34:14 +0000 (16:34 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 19 Oct 2021 01:02:02 +0000 (10:02 +0900)
commit746ac7548ce420d4d5db3347546e1f8c0934161a
treeea5982c5886e2e9d94161e215d7a5066d429232e
parent7b5b9ff9291533b19d1ad6f8d063437936692af9
Add appsvc db upgrade script

To upgrade database files properly, the user version is added to database files.
From Tizen 6.5, the schema of the appsvc was changed. The invalid foreign key
was removed. The 1_appsvc_db_upgrade.sh file is for upgrading the appsvc db file.

Adds:
 - 501.appsvc_db_upgrade.sh
 - 1_appsvc_db_upgrade.sh

Change-Id: I173929f757799d9e7bc25361a37b4a6e3847b9fd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
CMakeLists.txt
data/appsvc_db.sql.in [moved from data/appsvc_db.sql with 95% similarity]
packaging/aul.spec
parser/component/CMakeLists.txt
parser/component/data/component_db.sql.in [moved from parser/component/data/component_db.sql with 93% similarity]
parser/component/script/14_component-add.post.in [moved from parser/component/script/14_component-add.post with 97% similarity]
parser/component/script/501.component_upgrade.sh.in [moved from parser/component/script/501.component_upgrade.sh with 97% similarity]
scripts/501.appsvc_db_upgrade.sh.in [new file with mode: 0755]
scripts/upgrade/1_appsvc_db_upgrade.sh.in [new file with mode: 0755]
tool/recovery/appsvc_db_recovery.c
tool/recovery/component_db_recovery.c