diff options
author | friendica <info@friendica.com> | 2012-06-25 20:55:27 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-06-25 20:55:27 -0700 |
commit | fbaca4b74237c80c380d6ccf2bdddeec5ad4f013 (patch) | |
tree | ca1ca05c84f8bd17acab9749b674d3b23fdcd2a5 /update.php | |
parent | 53f0aee82d61b7d61fb2271eb7f41cacc2eaf8f3 (diff) | |
download | volse-hubzilla-fbaca4b74237c80c380d6ccf2bdddeec5ad4f013.tar.gz volse-hubzilla-fbaca4b74237c80c380d6ccf2bdddeec5ad4f013.tar.bz2 volse-hubzilla-fbaca4b74237c80c380d6ccf2bdddeec5ad4f013.zip |
event summary/title
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/update.php b/update.php index eeb8b07b1..b8e247f57 100644 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1150 ); +define( 'UPDATE_VERSION' , 1151 ); /** * @@ -1298,3 +1298,12 @@ function update_1149() { return UPDATE_FAILED; return UPDATE_SUCCESS; } + + +function update_1150() { + $r = q("ALTER TABLE event ADD summary text NOT NULL after finish, add index ( uid ), add index ( cid ), add index ( uri ), add index ( `start` ), add index ( finish ), add index ( `type` ), add index ( adjust ) "); + if(! $r) + return UPDATE_FAILED; + return UPDATE_SUCCESS; +} + |