From 8d21acd7f07fa40604dda8cf44fb114b5f637565 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Tue, 9 Aug 2016 18:05:47 +0200 Subject: [PATCH] Edit friends database schema to allow empty SIP URI column in new installs --- coreapi/friend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/friend.c b/coreapi/friend.c index 5abe3dfd7..51ef007c8 100644 --- a/coreapi/friend.c +++ b/coreapi/friend.c @@ -1170,7 +1170,7 @@ static void linphone_create_table(sqlite3* db) { ret = sqlite3_exec(db,"CREATE TABLE IF NOT EXISTS friends (" "id INTEGER PRIMARY KEY AUTOINCREMENT," "friend_list_id INTEGER," - "sip_uri TEXT NOT NULL," + "sip_uri TEXT," "subscribe_policy INTEGER," "send_subscribe INTEGER," "ref_key TEXT,"