database.xml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. <database>
  3. <name>*dbname*</name>
  4. <create>true</create>
  5. <overwrite>false</overwrite>
  6. <charset>utf8</charset>
  7. <table>
  8. <name>*dbprefix*contacts_addressbooks</name>
  9. <declaration>
  10. <field>
  11. <name>id</name>
  12. <type>integer</type>
  13. <default>0</default>
  14. <notnull>true</notnull>
  15. <autoincrement>1</autoincrement>
  16. <unsigned>true</unsigned>
  17. <length>4</length>
  18. </field>
  19. <field>
  20. <name>userid</name>
  21. <type>text</type>
  22. <default></default>
  23. <notnull>true</notnull>
  24. <length>255</length>
  25. </field>
  26. <field>
  27. <name>displayname</name>
  28. <type>text</type>
  29. <default></default>
  30. <notnull>false</notnull>
  31. <length>255</length>
  32. </field>
  33. <field>
  34. <name>uri</name>
  35. <type>text</type>
  36. <default></default>
  37. <notnull>false</notnull>
  38. <length>100</length>
  39. </field>
  40. <field>
  41. <name>description</name>
  42. <type>text</type>
  43. <notnull>false</notnull>
  44. </field>
  45. <field>
  46. <name>ctag</name>
  47. <type>integer</type>
  48. <default>1</default>
  49. <notnull>true</notnull>
  50. <unsigned>true</unsigned>
  51. <length>4</length>
  52. </field>
  53. </declaration>
  54. </table>
  55. <table>
  56. <name>*dbprefix*contacts_cards</name>
  57. <declaration>
  58. <field>
  59. <name>id</name>
  60. <type>integer</type>
  61. <default>0</default>
  62. <notnull>true</notnull>
  63. <autoincrement>1</autoincrement>
  64. <unsigned>true</unsigned>
  65. <length>4</length>
  66. </field>
  67. <field>
  68. <name>addressbookid</name>
  69. <type>integer</type>
  70. <default></default>
  71. <notnull>true</notnull>
  72. <unsigned>true</unsigned>
  73. <length>4</length>
  74. </field>
  75. <field>
  76. <name>fullname</name>
  77. <type>text</type>
  78. <default></default>
  79. <notnull>false</notnull>
  80. <length>255</length>
  81. </field>
  82. <field>
  83. <name>carddata</name>
  84. <type>text</type>
  85. <notnull>false</notnull>
  86. </field>
  87. <field>
  88. <name>uri</name>
  89. <type>text</type>
  90. <default></default>
  91. <notnull>false</notnull>
  92. <length>100</length>
  93. </field>
  94. <field>
  95. <name>lastmodified</name>
  96. <type>integer</type>
  97. <default></default>
  98. <notnull>false</notnull>
  99. <unsigned>true</unsigned>
  100. <length>4</length>
  101. </field>
  102. </declaration>
  103. </table>
  104. </database>