Browse code

lib/srdb1/schema: Add XML files related to dialog variables.

Timo Reimann authored on 07/10/2011 13:11:26
Showing 2 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,66 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE table PUBLIC "-//kamailio.org//DTD DBSchema V1.1//EN"
3
+  "http://kamailio.org/pub/kamailio/dbschema/dtd/1.1/dbschema.dtd" [
4
+
5
+<!ENTITY % entities SYSTEM "entities.xml">
6
+%entities;
7
+
8
+]>
9
+
10
+<table id="dialog_vars" xmlns:db="http://docbook.org/ns/docbook">
11
+	<name>dialog_vars</name>
12
+	<version>1</version>
13
+	<type db="mysql">&MYSQL_TABLE_TYPE;</type>
14
+	<description>
15
+		<db:para>Persistent dialog variable information for the dialog module.
16
+		More information can be found at: &KAMAILIO_MOD_DOC;dialog.html
17
+		</db:para>
18
+	</description>
19
+
20
+	<column id="id">
21
+		<name>id</name>
22
+		<type>unsigned int</type>
23
+		<size>&table_id_len;</size>
24
+		<autoincrement/>
25
+		<primary/>
26
+		<type db="dbtext">int,auto</type>
27
+		<description>unique ID</description>
28
+	</column>
29
+
30
+	<column id="hash_entry">
31
+		<name>hash_entry</name>
32
+		<type>unsigned int</type>
33
+		<size>10</size>
34
+		<description>Number of the hash entry in the dialog hash table
35
+		</description>
36
+		<natural/>
37
+	</column>
38
+
39
+	<column id="hash_id">
40
+		<name>hash_id</name>
41
+		<type>unsigned int</type>
42
+		<size>10</size>
43
+		<description>The ID on the hash entry</description>
44
+		<natural/>
45
+	</column>
46
+
47
+	<column>
48
+		<name>dialog_key</name>
49
+		<type>string</type>
50
+		<size>128</size>
51
+		<description>The key of the dialog variable</description>
52
+	</column>
53
+
54
+	<column>
55
+		<name>dialog_value</name>
56
+		<type>string</type>
57
+		<size>512</size>
58
+		<description>The value of the dialog variable</description>
59
+	</column>
60
+
61
+	<index>
62
+		<name>hash_idx</name>
63
+		<colref linkend="hash_entry"/>
64
+		<colref linkend="hash_id"/>
65
+	</index>
66
+</table>
0 67
new file mode 100644
... ...
@@ -0,0 +1,12 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE database PUBLIC "-//kamailio.org//DTD DBSchema V1.1//EN"
3
+  "http://kamailio.org/pub/kamailio/dbschema/dtd/1.1/dbschema.dtd" [
4
+
5
+  <!ENTITY % entities SYSTEM "entities.xml">
6
+  %entities;
7
+]>
8
+
9
+<database xmlns:xi="http://www.w3.org/2001/XInclude">
10
+    <name>Dialog Variables support</name>
11
+    <xi:include href="dialog_vars.xml"/>
12
+</database>