diff options
Diffstat (limited to 'install/update.php')
-rw-r--r-- | install/update.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index 787c1d542..ba5ec0262 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1044 ); +define( 'UPDATE_VERSION' , 1045 ); /** * @@ -548,3 +548,11 @@ ADD INDEX ( `comment_policy` ) "); return UPDATE_SUCCESS; return UPDATE_FAILED; } + +function update_r1044() { + $r = q("ALTER TABLE `term` ADD `imgurl` CHAR( 255 ) NOT NULL , +ADD INDEX ( `imgurl` ) "); + if($r) + return UPDATE_SUCCESS; + return UPDATE_FAILED; +} |