aboutsummaryrefslogtreecommitdiffstats
path: root/database.sql
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-24 22:40:52 -0700
committerFriendika <info@friendika.com>2011-05-24 22:40:52 -0700
commit73b4faca5c7af506558eba6b7317d23551f1aefa (patch)
tree38b706c0cae1581531007e85f40085820fe87a7a /database.sql
parenteb152fdc24302ead9baf8e82d551084128162715 (diff)
downloadvolse-hubzilla-73b4faca5c7af506558eba6b7317d23551f1aefa.tar.gz
volse-hubzilla-73b4faca5c7af506558eba6b7317d23551f1aefa.tar.bz2
volse-hubzilla-73b4faca5c7af506558eba6b7317d23551f1aefa.zip
basic file upload/attach
Diffstat (limited to 'database.sql')
-rw-r--r--database.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/database.sql b/database.sql
index d9cd016f0..6f4704a22 100644
--- a/database.sql
+++ b/database.sql
@@ -527,6 +527,7 @@ CREATE TABLE IF NOT EXISTS `mailacct` (
CREATE TABLE IF NOT EXISTS `attach` (
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`uid` INT NOT NULL ,
+`hash` CHAR(64) NOT NULL,
`filetype` CHAR( 64 ) NOT NULL ,
`filesize` INT NOT NULL ,
`data` LONGBLOB NOT NULL ,