remove alias because alias is not applied in table 50/56450/6 accepted/tizen/mobile/20160108.120217 submit/tizen_mobile/20160108.093737
authorJeesun Kim <iamjs.kim@samsung.com>
Fri, 8 Jan 2016 06:01:51 +0000 (15:01 +0900)
committerJeesun Kim <iamjs.kim@samsung.com>
Fri, 8 Jan 2016 07:37:25 +0000 (16:37 +0900)
Change-Id: I922c72a6de954fd42bcfb7e447772bfb6df6c52b

server/db/ctsvc_db_init.c

index 29466ca..c5dd03b 100644 (file)
@@ -910,9 +910,9 @@ static int __ctsvc_db_create_views()
                "CREATE VIEW IF NOT EXISTS "CTSVC_DB_VIEW_SIP" AS "
                        "SELECT id, "
                                        "data.contact_id, "
-                                       "data1 address, "
-                                       "data2 type, "
-                                       "data3 label "
+                                       "data1, "
+                                       "data2, "
+                                       "data3 "
                        "FROM "CTS_TABLE_DATA", "CTSVC_DB_VIEW_CONTACT" "
                        "ON "CTS_TABLE_DATA".contact_id = "CTSVC_DB_VIEW_CONTACT".contact_id "
                        "WHERE datatype = %d AND is_my_profile = 0 ",