diff options
author | Olivier Migeot <olivier@migeot.org> | 2011-04-13 14:25:13 +0200 |
---|---|---|
committer | Olivier Migeot <olivier@migeot.org> | 2011-04-13 14:25:13 +0200 |
commit | e051fa36052efbea2bdd9629d41851398f63ad71 (patch) | |
tree | 68ec1a5bf223b1e3106282adbbeaaf1324d94a80 /update.php | |
parent | aa358b707c702d5ae3da2f58ba3e61b8f5138e4f (diff) | |
parent | 21536fcda3415b86db77147ca112c017b4f1063b (diff) | |
download | volse-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.php | 16 |
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 "); + +} |