diff options
author | friendica <info@friendica.com> | 2013-01-16 00:59:43 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-01-16 00:59:43 -0800 |
commit | a9f4a47a35eecad03c9c0da58a3febc99fd87453 (patch) | |
tree | 603afbbde45be1e32398a6d458b73144858057f8 /install/update.php | |
parent | ddd8a0e062964cc18a7ef54828019ee28e63175b (diff) | |
download | volse-hubzilla-a9f4a47a35eecad03c9c0da58a3febc99fd87453.tar.gz volse-hubzilla-a9f4a47a35eecad03c9c0da58a3febc99fd87453.tar.bz2 volse-hubzilla-a9f4a47a35eecad03c9c0da58a3febc99fd87453.zip |
import events (not just event posts) from zot
Diffstat (limited to 'install/update.php')
-rw-r--r-- | install/update.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index 5479f1e26..a6fecbef5 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1019 ); +define( 'UPDATE_VERSION' , 1020 ); /** * @@ -279,3 +279,9 @@ ADD INDEX ( `event_hash` )"); } +function update_r1019() { + $r = q"ALTER TABLE `event` DROP `message_id` "); + if($r) + return UPDATE_SUCCESS; + return UPDATE_FAILED; +} |