<?php
-define( 'UPDATE_VERSION' , 1158 );
+define( 'UPDATE_VERSION' , 1159 );
/**
*
if(!$r) return UPDATE_FAILED;
return UPDATE_SUCCESS;
}
+function update_1158() {
+ $r = q("ALTER TABLE `item` ADD `mention` TINYINT(1) NOT NULL DEFAULT '0', ADD INDEX (`mention`)");
+// KEY `mention` (`mention`)
+ if(!$r) return UPDATE_FAILED;
+ return UPDATE_SUCCESS;
+}