nextcloud/apps/gallery/appinfo/database.xml

61 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>