Skip to content
Snippets Groups Projects
Commit 34a21a63 authored by Bartek Przybylski's avatar Bartek Przybylski
Browse files

new db scheme

parent 6d211155
Branches
No related tags found
No related merge requests found
...@@ -5,16 +5,8 @@ ...@@ -5,16 +5,8 @@
<overwrite>false</overwrite> <overwrite>false</overwrite>
<charset>latin1</charset> <charset>latin1</charset>
<table> <table>
<name>*dbprefix*gallery_albums</name> <name>*dbprefix*pictures_images_cache</name>
<declaration> <declaration>
<field>
<name>album_id</name>
<type>integer</type>
<default>0</default>
<notnull>true</notnull>
<autoincrement>1</autoincrement>
<length>4</length>
</field>
<field> <field>
<name>uid_owner</name> <name>uid_owner</name>
<type>text</type> <type>text</type>
...@@ -22,49 +14,23 @@ ...@@ -22,49 +14,23 @@
<length>64</length> <length>64</length>
</field> </field>
<field> <field>
<name>album_name</name> <name>path</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>
<type>text</type> <type>text</type>
<notnull>true</notnull> <notnull>true</notnull>
<length>256</length> <length>256</length>
</field> </field>
</declaration>
</table>
<table>
<name>*dbprefix*gallery_photos</name>
<declaration>
<field> <field>
<name>photo_id</name> <name>width</name>
<type>integer</type> <type>integer</type>
<default>0</default>
<notnull>true</notnull> <notnull>true</notnull>
<autoincrement>1</autoincrement>
<length>4</length> <length>4</length>
</field> </field>
<field> <field>
<name>album_id</name> <name>height</name>
<type>integer</type> <type>integer</type>
<default>0</default>
<notnull>true</notnull> <notnull>true</notnull>
<length>4</length> <length>4</length>
</field> </field>
<field>
<name>file_path</name>
<type>text</type>
<notnull>true</notnull>
<length>256</length>
</field>
</declaration> </declaration>
</table> </table>
<table> <table>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment