Module: sip-router
Branch: master
Commit: e9c2f7dc17dd4a4d2ae133d8a04458a86f76a420
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e9c2f7d…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: Tue Apr 3 15:57:27 2012 +0300
lib/srdb1/schema/domain[_attrs].xml: schema fixes
---
lib/srdb1/schema/domain.xml | 3 +--
lib/srdb1/schema/domain_attrs.xml | 8 --------
2 files changed, 1 insertions(+), 10 deletions(-)
diff --git a/lib/srdb1/schema/domain.xml b/lib/srdb1/schema/domain.xml
index 83be326..acd0d70 100644
--- a/lib/srdb1/schema/domain.xml
+++ b/lib/srdb1/schema/domain.xml
@@ -31,8 +31,6 @@
<type>string</type>
<size>&domain_len;</size>
<description>Domain name</description>
- <default/>
- <natural/>
</column>
<column id="did">
@@ -41,6 +39,7 @@
<size>&domain_len;</size>
<description>Domain id. Value of did column may be NULL, which
means that it has the same value as domain column.</description>
+ <default><null/></default>
<null/>
</column>
diff --git a/lib/srdb1/schema/domain_attrs.xml b/lib/srdb1/schema/domain_attrs.xml
index cf3ce3c..6f60781 100644
--- a/lib/srdb1/schema/domain_attrs.xml
+++ b/lib/srdb1/schema/domain_attrs.xml
@@ -31,8 +31,6 @@
<type>string</type>
<size>&domain_len;</size>
<description>Domain id</description>
- <default/>
- <natural/>
</column>
<column id="name">
@@ -40,16 +38,12 @@
<type>string</type>
<size>32</size>
<description>Name of attribute</description>
- <default/>
- <natural/>
</column>
<column id="type">
<name>type</name>
<type>unsigned int</type>
<description>Type of attribute (0=integer, 2=string)</description>
- <default/>
- <natural/>
</column>
<column id="value">
@@ -57,8 +51,6 @@
<type>string</type>
<size>255</size>
<description>Value of attribute</description>
- <default/>
- <natural/>
</column>
<column>