diff options
author | friendica <info@friendica.com> | 2013-01-15 17:59:49 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-01-15 17:59:49 -0800 |
commit | 275fa6e1d26b4ce3090719c9b9d913ef1f2091a1 (patch) | |
tree | 4daceca2f1ac3c294e0e86ae776d41f01d2b3887 /install/update.php | |
parent | ed275cd40d3462c302aa1b06a878630750928992 (diff) | |
download | volse-hubzilla-275fa6e1d26b4ce3090719c9b9d913ef1f2091a1.tar.gz volse-hubzilla-275fa6e1d26b4ce3090719c9b9d913ef1f2091a1.tar.bz2 volse-hubzilla-275fa6e1d26b4ce3090719c9b9d913ef1f2091a1.zip |
events backend heavy lifting - the new structure is slowly emerging.
Diffstat (limited to 'install/update.php')
-rw-r--r-- | install/update.php | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index 63d65c89c..5479f1e26 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1018 ); +define( 'UPDATE_VERSION' , 1019 ); /** * @@ -269,3 +269,13 @@ function update_r1017() { return UPDATE_SUCCESS; return UPDATE_FAILED; } + +function update_r1018() { + $r = q("ALTER TABLE `event` ADD `event_hash` CHAR( 255 ) NOT NULL DEFAULT '' AFTER `event_xchan` , +ADD INDEX ( `event_hash` )"); + if($r) + return UPDATE_SUCCESS; + return UPDATE_FAILED; +} + + |