|
@@ -0,0 +1,110 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<!DOCTYPE table PUBLIC "-//iptel.org//DTD DBSchema V1.0//EN"
|
|
|
+ "http://iptel.org/dbschema/dtd/1.0/dbschema.dtd" [
|
|
|
+
|
|
|
+<!ENTITY % entities SYSTEM "entities.xml">
|
|
|
+%entities;
|
|
|
+
|
|
|
+]>
|
|
|
+
|
|
|
+<table role="presence"
|
|
|
+ xmlns:db="http://docbook.org/ns/docbook"
|
|
|
+ xmlns:my="http://iptel.org/dbschema/mysql"
|
|
|
+ xmlns:pg="http://iptel.org/dbschema/postgres"
|
|
|
+ xmlns:dt="http://iptel.org/dbschema/dbtext">
|
|
|
+ <name>presentity_contact</name>
|
|
|
+ <version>1</version>
|
|
|
+
|
|
|
+ <column id="prescontact.contactid">
|
|
|
+ <name>contactid</name>
|
|
|
+ <type>unsigned int</type>
|
|
|
+ <size>10</size>
|
|
|
+ <my:type>INT(10) UNSIGNED AUTO_INCREMENT</my:type>
|
|
|
+ <pg:type>SERIAL</pg:type>
|
|
|
+ <dt:type>int,auto</dt:type>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column id="prescontact.presid">
|
|
|
+ <name>presid</name>
|
|
|
+ <type>unsigned int</type>
|
|
|
+ <size>10</size>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column>
|
|
|
+ <name>basic</name>
|
|
|
+ <type>string</type>
|
|
|
+ <size>32</size>
|
|
|
+ <default>offline</default>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column>
|
|
|
+ <name>status</name>
|
|
|
+ <type>string</type>
|
|
|
+ <size>32</size>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column id="prescontact.location">
|
|
|
+ <name>location</name>
|
|
|
+ <type>string</type>
|
|
|
+ <size>128</size>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column>
|
|
|
+ <name>expires</name>
|
|
|
+ <type>datetime</type>
|
|
|
+ <default>2020-05-28 21:32:15</default>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column id="prescontact.placeid">
|
|
|
+ <name>placeid</name>
|
|
|
+ <type>int</type>
|
|
|
+ <size>10</size>
|
|
|
+ <null/>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column>
|
|
|
+ <name>priority</name>
|
|
|
+ <type>float</type>
|
|
|
+ <default>0.5</default>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column>
|
|
|
+ <name>contact</name>
|
|
|
+ <type>string</type>
|
|
|
+ <size>&uri_len;</size>
|
|
|
+ <null/>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column>
|
|
|
+ <name>tupleid</name>
|
|
|
+ <type>string</type>
|
|
|
+ <size>64</size>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column>
|
|
|
+ <name>prescaps</name>
|
|
|
+ <type>int</type>
|
|
|
+ <size>10</size>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <index>
|
|
|
+ <name>pc_idx1</name>
|
|
|
+ <colref linkend="prescontact.contactid"/>
|
|
|
+ <unique/>
|
|
|
+ </index>
|
|
|
+
|
|
|
+ <index>
|
|
|
+ <name>presid_index</name>
|
|
|
+ <colref linkend="prescontact.presid"/>
|
|
|
+ </index>
|
|
|
+
|
|
|
+ <index>
|
|
|
+ <name>location_index</name>
|
|
|
+ <colref linkend="prescontact.location"/>
|
|
|
+ </index>
|
|
|
+
|
|
|
+ <index>
|
|
|
+ <name>placeid_index</name>
|
|
|
+ <colref linkend="prescontact.placeid"/>
|
|
|
+ </index>
|
|
|
+</table>
|