summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_regular/src/sql_pt_queries.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/policy/policy_regular/src/sql_pt_queries.cc')
-rw-r--r--src/components/policy/policy_regular/src/sql_pt_queries.cc13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/components/policy/policy_regular/src/sql_pt_queries.cc b/src/components/policy/policy_regular/src/sql_pt_queries.cc
index a58867966c..6e0bfd8c89 100644
--- a/src/components/policy/policy_regular/src/sql_pt_queries.cc
+++ b/src/components/policy/policy_regular/src/sql_pt_queries.cc
@@ -152,7 +152,6 @@ const std::string kCreateSchema =
" `is_revoked` BOOLEAN, "
" `is_default` BOOLEAN, "
" `is_predata` BOOLEAN, "
- " `memory_kb` INTEGER NOT NULL, "
" `heart_beat_timeout_ms` INTEGER NOT NULL, "
" `certificate` VARCHAR(65535), "
" `hybrid_app_preference_value` VARCHAR(255), "
@@ -778,12 +777,12 @@ const std::string kInsertRpcWithParameter =
const std::string kInsertApplication =
"INSERT OR IGNORE INTO `application` (`id`, `priority_value`, "
- "`is_revoked`, `memory_kb`, `heart_beat_timeout_ms`, `certificate`, "
+ "`is_revoked`, `heart_beat_timeout_ms`, `certificate`, "
"`hybrid_app_preference_value`, `endpoint`, `enabled`, `auth_token`, "
"`cloud_transport_type`, `icon_url`, `allow_unknown_rpc_passthrough` "
",`encryption_required`) "
"VALUES "
- "(?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
+ "(?,?,?,?,?,?,?,?,?,?,?,?,?)";
const std::string kInsertAppGroup =
"INSERT INTO `app_group` (`application_id`, `functional_group_id`)"
@@ -916,7 +915,7 @@ const std::string kSelectUserMsgsVersion =
"SELECT DISTINCT `number` FROM `version`";
const std::string kSelectAppPolicies =
- "SELECT `id`, `priority_value`, `memory_kb`, "
+ "SELECT `id`, `priority_value`, "
" `heart_beat_timeout_ms`, `certificate`, `hybrid_app_preference_value`, "
" `endpoint`, `enabled`, `auth_token`, `cloud_transport_type`, `icon_url`, "
" `allow_unknown_rpc_passthrough`, `encryption_required`"
@@ -1047,16 +1046,16 @@ const std::string kDeleteAppGroupByApplicationId =
const std::string kInsertApplicationFull =
"INSERT OR IGNORE INTO `application` (`id`, `keep_context`, `steal_focus`, "
" `default_hmi`, `priority_value`, `is_revoked`, `is_default`, "
- " `is_predata`, `memory_kb`, `heart_beat_timeout_ms`, "
+ " `is_predata`, `heart_beat_timeout_ms`, "
" `certificate`, `hybrid_app_preference_value`, `endpoint`, `enabled`, "
" `auth_token`, `cloud_transport_type`, `icon_url`, "
"`allow_unknown_rpc_passthrough`, `encryption_required`)"
- " VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)";
+ " VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)";
const std::string kSelectApplicationFull =
"SELECT `keep_context`, `steal_focus`, `default_hmi`, "
"`priority_value`, "
- " `is_revoked`, `is_default`, `is_predata`, `memory_kb`,"
+ " `is_revoked`, `is_default`, `is_predata`, "
" `heart_beat_timeout_ms`, `certificate`, `hybrid_app_preference_value`, "
" `endpoint`, `enabled`, `auth_token`, `cloud_transport_type`, "
"`icon_url`, "