modify msg-service to support dpm feature
[platform/core/messaging/msg-service.git] / config / msg-service-db.sql
index a508b79..716d46b 100755 (executable)
@@ -1,4 +1,4 @@
-PRAGMA user_version=1;
+PRAGMA user_version=2;
 
 CREATE TABLE MSG_CONVERSATION_TABLE
 (
@@ -65,6 +65,7 @@ CREATE TABLE MSG_MESSAGE_TABLE
        ATTACHMENT_COUNT INTEGER DEFAULT 0 ,
        SIM_INDEX INTEGER DEFAULT 0 ,
        SIM_IMSI TEXT ,
+       DPM_RESTRICTED INTERGER DEFAULT 0 ,
 
        FOREIGN KEY (CONV_ID) REFERENCES MSG_CONVERSATION_TABLE (CONV_ID) ,
        FOREIGN KEY (FOLDER_ID) REFERENCES MSG_FOLDER_TABLE (FOLDER_ID)