diff options
author | Bartek Przybylski <bart.p.pl@gmail.com> | 2011-09-25 22:32:08 +0200 |
---|---|---|
committer | Bartek Przybylski <bart.p.pl@gmail.com> | 2011-09-25 22:32:08 +0200 |
commit | bc43851d74e8fceea1c914e98a8cd571b84610d5 (patch) | |
tree | 171216b960b26719fe124db95a20520c9a3d0081 /apps/gallery/appinfo/database.xml | |
parent | fb01a7269304fe38369f01293f8f7fb707061363 (diff) | |
download | nextcloud-server-bc43851d74e8fceea1c914e98a8cd571b84610d5.tar.gz nextcloud-server-bc43851d74e8fceea1c914e98a8cd571b84610d5.zip |
initial commit for gallery app
Diffstat (limited to 'apps/gallery/appinfo/database.xml')
-rw-r--r-- | apps/gallery/appinfo/database.xml | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/apps/gallery/appinfo/database.xml b/apps/gallery/appinfo/database.xml new file mode 100644 index 00000000000..fd55b3a6fb4 --- /dev/null +++ b/apps/gallery/appinfo/database.xml @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="ISO-8859-1" ?> +<database> + <name>*dbname*</name> + <create>true</create> + <overwrite>false</overwrite> + <charset>latin1</charset> + <table> + <name>*dbprefix*gallery_albums</name> + <declaration> + <field> + <name>album_id</name> + <type>integer</type> + <default>0</default> + <notnull>true</notnull> + <autoincrement>1</autoincrement> + <length>4</length> + </field> + <field> + <name>uid_owner</name> + <type>text</type> + <notnull>true</notnull> + <length>64</length> + </field> + <field> + <name>album_name</name> + <type>text</type> + <notnull>true</notnull> + <length>100</length> + </field> + </declaration> + </table> + <table> + <name>*dbprefix*gallery_photos</name> + <declaration> + <field> + <name>photo_id</name> + <type>integer</type> + <default>0</default> + <notnull>true</notnull> + <autoincrement>1</autoincrement> + <length>4</length> + </field> + <field> + <name>album_id</name> + <type>integer</type> + <default>0</default> + <notnull>true</notnull> + <length>4</length> + </field> + <field> + <name>file_path</name> + <type>text</type> + <notnull>true</notnull> + <length>100</length> + </field> + </declaration> + </table> +</database> |