The user_version is set to appsvc db.
Change-Id: Icb649d3d521e336d99a775a83a20b65d6c946e8f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
CONFIGURE_FILE(aul.pc.in aul.pc @ONLY)
CONFIGURE_FILE(feature/preexec_list.txt.in feature/preexec_list.txt @ONLY)
CONFIGURE_FILE(data/appsvc_db.sql.in data/appsvc_db.sql @ONLY)
+CONFIGURE_FILE(scripts/12_appsvc-add.post.in scripts/12_appsvc-add.post @ONLY)
CONFIGURE_FILE(scripts/501.appsvc_db_upgrade.sh.in scripts/501.appsvc_db_upgrade.sh @ONLY)
CONFIGURE_FILE(scripts/upgrade/1_appsvc_db_upgrade.sh.in scripts/upgrade/1_appsvc_db_upgrade.sh @ONLY)
# Create DB
sqlite3 /opt/dbspace/user/$2/.appsvc.db << EOF
PRAGMA journal_mode = PERSIST;
+PRAGMA user_version = @APPSVC_DB_VERSION@;
CREATE TABLE IF NOT EXISTS appsvc (
operation TEXT,