@@ -101,7 +101,6 @@
</column>
<index>
- <unique/>
<colref linkend="credentials.username"/>
<colref linkend="credentials.realm"/>
</index>
@@ -68,6 +68,13 @@
<null/>
+ <column>
+ <name>instance</name>
+ <type>string</type>
+ <null/>
+ <size>&uri_len;</size>
+ </column>
+
<name>location_key</name>
<unique/>
@@ -1 +1 @@
-uid(str) contact(str) received(str,null) expires(int) q(double) callid(str,null) cseq(int,null) flags(int) user_agent(str,null)
+uid(str) contact(str) received(str,null) expires(int) q(double) callid(str,null) cseq(int,null) flags(int) user_agent(str,null) instance(str,null)
@@ -161,6 +161,7 @@ CREATE TABLE location (
cseq INT UNSIGNED,
flags INT UNSIGNED NOT NULL DEFAULT '0',
user_agent VARCHAR(64),
+ instance VARCHAR(255),
UNIQUE KEY location_key (uid, contact),
KEY location_contact (contact)
);
@@ -157,6 +157,7 @@ CREATE TABLE location (
cseq int,
flags int NOT NULL DEFAULT '0',
user_agent string(64),
+ instance string(255),
location_key UNIQUE (uid, contact, ),
@@ -163,6 +163,7 @@ CREATE TABLE location (
cseq INTEGER,
flags INTEGER NOT NULL DEFAULT '0',
CONSTRAINT location_key UNIQUE (uid, contact)