Parcourir la source

lib/srdb1/schema/domain[_attrs].xml: schema fixes

Juha Heinanen il y a 13 ans
Parent
commit
e9c2f7dc17
2 fichiers modifiés avec 1 ajouts et 10 suppressions
  1. 1 2
      lib/srdb1/schema/domain.xml
  2. 0 8
      lib/srdb1/schema/domain_attrs.xml

+ 1 - 2
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>
 

+ 0 - 8
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>