database.xml 6.04 KB
<?xml version="1.0" encoding="ISO-8859-1" ?>
<database>

 <name>*dbname*</name>
 <create>true</create>
 <overwrite>false</overwrite>

 <charset>utf8</charset>

 <table>

  <name>*dbprefix*clndr_objects</name>

  <declaration>

   <field>
    <name>id</name>
    <type>integer</type>
    <default>0</default>
    <notnull>true</notnull>
    <autoincrement>1</autoincrement>
    <unsigned>true</unsigned>
    <length>4</length>
   </field>

   <field>
    <name>calendarid</name>
    <type>integer</type>
    <default></default>
    <notnull>true</notnull>
    <unsigned>true</unsigned>
    <length>4</length>
   </field>

   <field>
    <name>objecttype</name>
    <type>text</type>
    <default></default>
    <notnull>true</notnull>
    <length>40</length>
   </field>

   <field>
    <name>startdate</name>
    <type>timestamp</type>
    <default>1970-01-01 00:00:00</default>
    <notnull>false</notnull>
   </field>

   <field>
    <name>enddate</name>
    <type>timestamp</type>
    <default>1970-01-01 00:00:00</default>
    <notnull>false</notnull>
   </field>

   <field>
    <name>repeating</name>
    <type>integer</type>
    <default></default>
    <notnull>false</notnull>
    <length>4</length>
   </field>

   <field>
    <name>summary</name>
    <type>text</type>
    <default></default>
    <notnull>false</notnull>
    <length>255</length>
   </field>

   <field>
    <name>calendardata</name>
    <type>clob</type>
    <notnull>false</notnull>
   </field>

   <field>
    <name>uri</name>
    <type>text</type>
    <default></default>
    <notnull>false</notnull>
    <length>255</length>
   </field>

   <field>
    <name>lastmodified</name>
    <type>integer</type>
    <default></default>
    <notnull>false</notnull>
    <length>4</length>
   </field>

  </declaration>

 </table>

 <table>

  <name>*dbprefix*clndr_calendars</name>

  <declaration>

   <field>
    <name>id</name>
    <type>integer</type>
    <default>0</default>
    <notnull>true</notnull>
    <autoincrement>1</autoincrement>
    <unsigned>true</unsigned>
    <length>4</length>
   </field>

   <field>
    <name>userid</name>
    <type>text</type>
    <default></default>
    <notnull>false</notnull>
    <length>255</length>
   </field>

   <field>
    <name>displayname</name>
    <type>text</type>
    <default></default>
    <notnull>false</notnull>
    <length>100</length>
   </field>

   <field>
    <name>uri</name>
    <type>text</type>
    <default></default>
    <notnull>false</notnull>
    <length>255</length>
   </field>

   <field>
    <name>active</name>
    <type>integer</type>
    <default>1</default>
    <notnull>true</notnull>
    <length>4</length>
   </field>

   <field>
    <name>ctag</name>
    <type>integer</type>
    <default>0</default>
    <notnull>true</notnull>
    <unsigned>true</unsigned>
    <length>4</length>
   </field>

   <field>
    <name>calendarorder</name>
    <type>integer</type>
    <default>0</default>
    <notnull>true</notnull>
    <unsigned>true</unsigned>
    <length>4</length>
   </field>

   <field>
    <name>calendarcolor</name>
    <type>text</type>
    <default></default>
    <notnull>false</notnull>
    <length>10</length>
   </field>

   <field>
    <name>timezone</name>
    <type>clob</type>
    <notnull>false</notnull>
   </field>

   <field>
    <name>components</name>
    <type>text</type>
    <default></default>
    <notnull>false</notnull>
    <length>100</length>
   </field>

  </declaration>

 </table>
 
 <table>

  <name>*dbprefix*clndr_share_event</name>

  <declaration>
  
   <field>
    <name>owner</name>
    <type>text</type>
    <notnull>true</notnull>
    <length>255</length>
   </field>
  
   <field>
    <name>share</name>
    <type>text</type>
    <notnull>true</notnull>
    <length>255</length>
   </field>
  
   <field>
    <name>sharetype</name>
    <type>text</type>
    <notnull>true</notnull>
    <length>6</length>
   </field>

   <field>
    <name>eventid</name>
    <type>integer</type>
    <default></default>
    <notnull>true</notnull>
    <unsigned>true</unsigned>
    <length>11</length>
   </field>

   <field>
    <name>permissions</name>
    <type>integer</type>
    <notnull>true</notnull>
    <length>1</length>
   </field>

  </declaration>

 </table>
 
 <table>

  <name>*dbprefix*clndr_share_calendar</name>

  <declaration>
  
   <field>
    <name>owner</name>
    <type>text</type>
    <notnull>true</notnull>
    <length>255</length>
   </field>
  
   <field>
    <name>share</name>
    <type>text</type>
    <notnull>true</notnull>
    <length>255</length>
   </field>
  
   <field>
    <name>sharetype</name>
    <type>text</type>
    <notnull>true</notnull>
    <length>6</length>
   </field>

   <field>
    <name>calendarid</name>
    <type>integer</type>
    <default></default>
    <notnull>true</notnull>
    <unsigned>true</unsigned>
    <length>11</length>
   </field>

   <field>
    <name>permissions</name>
    <type>integer</type>
    <notnull>true</notnull>
    <length>1</length>
   </field>

   <field>
    <name>active</name>
    <type>integer</type>
    <default>1</default>
    <notnull>true</notnull>
    <length>4</length>
   </field>

  </declaration>

 </table>
 
 <table>

  <name>*dbprefix*clndr_repeat</name>

  <declaration>

   <field>
    <name>id</name>
    <type>integer</type>
    <default>0</default>
    <notnull>true</notnull>
    <autoincrement>1</autoincrement>
    <unsigned>true</unsigned>
    <length>4</length>
   </field>
  
   <field>
    <name>eventid</name>
    <type>integer</type>
    <default>0</default>
    <notnull>true</notnull>
    <unsigned>true</unsigned>
    <length>4</length>
   </field>
  
   <field>
    <name>calid</name>
    <type>integer</type>
    <default>0</default>
    <notnull>true</notnull>
    <unsigned>true</unsigned>
    <length>4</length>
   </field>

   <field>
    <name>startdate</name>
    <type>timestamp</type>
    <default>1970-01-01 00:00:00</default>
    <notnull>false</notnull>
   </field>

   <field>
    <name>enddate</name>
    <type>timestamp</type>
    <default>1970-01-01 00:00:00</default>
    <notnull>false</notnull>
   </field>

  </declaration>

 </table>
 
</database>