From 73b4faca5c7af506558eba6b7317d23551f1aefa Mon Sep 17 00:00:00 2001
From: Friendika <info@friendika.com>
Date: Tue, 24 May 2011 22:40:52 -0700
Subject: basic file upload/attach

---
 database.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'database.sql')

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 ,
-- 
cgit v1.2.3

