aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorOlivier Migeot <olivier@migeot.org>2011-04-13 14:25:13 +0200
committerOlivier Migeot <olivier@migeot.org>2011-04-13 14:25:13 +0200
commite051fa36052efbea2bdd9629d41851398f63ad71 (patch)
tree68ec1a5bf223b1e3106282adbbeaaf1324d94a80 /update.php
parentaa358b707c702d5ae3da2f58ba3e61b8f5138e4f (diff)
parent21536fcda3415b86db77147ca112c017b4f1063b (diff)
downloadvolse-hubzilla-e051fa36052efbea2bdd9629d41851398f63ad71.tar.gz
volse-hubzilla-e051fa36052efbea2bdd9629d41851398f63ad71.tar.bz2
volse-hubzilla-e051fa36052efbea2bdd9629d41851398f63ad71.zip
Merge remote branch 'mike/master'
Diffstat (limited to 'update.php')
-rw-r--r--update.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/update.php b/update.php
index bb4536ae9..763b8f267 100644
--- a/update.php
+++ b/update.php
@@ -444,3 +444,19 @@ function update_1049() {
) ENGINE = MYISAM ");
}
+function update_1050() {
+ q("CREATE TABLE `attach` (
+ `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
+ `uid` INT NOT NULL ,
+ `filetype` CHAR( 64 ) NOT NULL ,
+ `filesize` INT NOT NULL ,
+ `data` LONGBLOB NOT NULL ,
+ `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
+ `edited` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
+ `allow_cid` MEDIUMTEXT NOT NULL ,
+ `allow_gid` MEDIUMTEXT NOT NULL ,
+ `deny_cid` MEDIUMTEXT NOT NULL ,
+ `deny_gid` MEDIUMTEXT NOT NULL
+ ) ENGINE = MYISAM ");
+
+}