summaryrefslogtreecommitdiffstats
path: root/apps/storage_charts/appinfo/database.xml
diff options
context:
space:
mode:
Diffstat (limited to 'apps/storage_charts/appinfo/database.xml')
-rw-r--r--apps/storage_charts/appinfo/database.xml99
1 files changed, 99 insertions, 0 deletions
diff --git a/apps/storage_charts/appinfo/database.xml b/apps/storage_charts/appinfo/database.xml
new file mode 100644
index 00000000000..cac8136d2e9
--- /dev/null
+++ b/apps/storage_charts/appinfo/database.xml
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<database>
+ <name>*dbname*</name>
+ <create>true</create>
+ <overwrite>false</overwrite>
+ <charset>utf8</charset>
+ <table>
+ <name>*dbprefix*dlstcharts</name>
+ <declaration>
+ <field>
+ <name>stc_id</name>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ <autoincrement>1</autoincrement>
+ <unsigned>true</unsigned>
+ <length>4</length>
+ </field>
+ <field>
+ <name>oc_uid</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>64</length>
+ </field>
+ <field>
+ <name>stc_month</name>
+ <type>integer</type>
+ <notnull>true</notnull>
+ <length>6</length>
+ </field>
+ <field>
+ <name>stc_dayts</name>
+ <type>integer</type>
+ <notnull>true</notnull>
+ <length>11</length>
+ </field>
+ <field>
+ <name>stc_used</name>
+ <type>integer</type>
+ <notnull>true</notnull>
+ <length>30</length>
+ </field>
+ <field>
+ <name>stc_total</name>
+ <type>integer</type>
+ <notnull>true</notnull>
+ <length>30</length>
+ </field>
+ <index>
+ <name>stc_pk</name>
+ <primary>true</primary>
+ <field>
+ <name>stc_id</name>
+ <sorting>ascending</sorting>
+ </field>
+ </index>
+ </declaration>
+ </table>
+ <table>
+ <name>*dbprefix*dlstcharts_uconf</name>
+ <declaration>
+ <field>
+ <name>uc_id</name>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ <autoincrement>1</autoincrement>
+ <unsigned>true</unsigned>
+ <length>4</length>
+ </field>
+ <field>
+ <name>oc_uid</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>64</length>
+ </field>
+ <field>
+ <name>uc_key</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>64</length>
+ </field>
+ <field>
+ <name>uc_val</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>255</length>
+ </field>
+ <index>
+ <name>uc_pk</name>
+ <primary>true</primary>
+ <field>
+ <name>uc_id</name>
+ <sorting>ascending</sorting>
+ </field>
+ </index>
+ </declaration>
+ </table>
+</database>