server/apps/gallery/appinfo/database.xml
Bartek Przybylski 2b80102909 new db scheme
2012-06-10 13:15:32 +02:00

60 lines
1.3 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1" ?>
<database>
<name>*dbname*</name>
<create>true</create>
<overwrite>false</overwrite>
<charset>latin1</charset>
<table>
<name>*dbprefix*pictures_images_cache</name>
<declaration>
<field>
<name>uid_owner</name>
<type>text</type>
<notnull>true</notnull>
<length>64</length>
</field>
<field>
<name>path</name>
<type>text</type>
<notnull>true</notnull>
<length>256</length>
</field>
<field>
<name>width</name>
<type>integer</type>
<notnull>true</notnull>
<length>4</length>
</field>
<field>
<name>height</name>
<type>integer</type>
<notnull>true</notnull>
<length>4</length>
</field>
</declaration>
</table>
<table>
<name>*dbprefix*gallery_sharing</name>
<declaration>
<field>
<name>token</name>
<type>text</type>
<notnull>true</notnull>
<length>64</length>
</field>
<field>
<name>gallery_id</name>
<type>integer</type>
<default>0</default>
<notnull>true</notnull>
<length>4</length>
</field>
<field>
<name>recursive</name>
<type>integer</type>
<notnull>true</notnull>
<length>1</length>
</field>
</declaration>
</table>
</database>