allow events to be ignored
This commit is contained in:
parent
f4e3f335ef
commit
3ea5001bb0
3 changed files with 13 additions and 3 deletions
10
update.php
10
update.php
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
define( 'UPDATE_VERSION' , 1154 );
|
||||
define( 'UPDATE_VERSION' , 1155 );
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -1343,3 +1343,11 @@ function update_1153() {
|
|||
if(!$r) return UPDATE_FAILED;
|
||||
return UPDATE_SUCCESS;
|
||||
}
|
||||
|
||||
function update_1154() {
|
||||
$r = q("ALTER TABLE `event` ADD `ignore` TINYINT( 1 ) UNSIGNED NOT NULL DEFAULT '0' AFTER `adjust` , ADD INDEX ( `ignore` )");
|
||||
|
||||
if(!$r) return UPDATE_FAILED;
|
||||
return UPDATE_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue