Skip to content

Commit

Permalink
new db scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
przybylski committed Jun 6, 2012
1 parent 6d21115 commit 34a21a6
Showing 1 changed file with 4 additions and 38 deletions.
42 changes: 4 additions & 38 deletions apps/gallery/appinfo/database.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 34a21a6

Please sign in to comment.