diff options
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; +} + |