diff options
author | Bartek Przybylski <bart.p.pl@gmail.com> | 2012-06-02 15:30:30 +0200 |
---|---|---|
committer | Bartek Przybylski <bart.p.pl@gmail.com> | 2012-06-06 22:13:49 +0200 |
commit | 34a21a63ce5730a4f45af6745b4acd6f702e6e79 (patch) | |
tree | bc725f7278862f511d16881ba9720349b4770533 /apps/gallery/appinfo | |
parent | 6d211155ab505c99dd7a723a011a755c2c038bc8 (diff) | |
download | nextcloud-server-34a21a63ce5730a4f45af6745b4acd6f702e6e79.tar.gz nextcloud-server-34a21a63ce5730a4f45af6745b4acd6f702e6e79.zip |
new db scheme
Diffstat (limited to 'apps/gallery/appinfo')
-rw-r--r-- | apps/gallery/appinfo/database.xml | 42 |
1 files changed, 4 insertions, 38 deletions
diff --git a/apps/gallery/appinfo/database.xml b/apps/gallery/appinfo/database.xml index f370e1521e4..d1ccd6b5a24 100644 --- a/apps/gallery/appinfo/database.xml +++ b/apps/gallery/appinfo/database.xml @@ -5,66 +5,32 @@ <overwrite>false</overwrite> <charset>latin1</charset> <table> - <name>*dbprefix*gallery_albums</name> + <name>*dbprefix*pictures_images_cache</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> - <field> - <name>album_path</name> - <type>text</type> - <notnull>true</notnull> - <length>256</length> - </field> - <field> - <name>parent_path</name> + <name>path</name> <type>text</type> <notnull>true</notnull> <length>256</length> </field> - </declaration> - </table> - <table> - <name>*dbprefix*gallery_photos</name> - <declaration> <field> - <name>photo_id</name> + <name>width</name> <type>integer</type> - <default>0</default> <notnull>true</notnull> - <autoincrement>1</autoincrement> <length>4</length> </field> <field> - <name>album_id</name> + <name>height</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>256</length> - </field> </declaration> </table> <table> |