DB - allow private messages to expire
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
define( 'UPDATE_VERSION' , 1080 );
|
||||
define( 'UPDATE_VERSION' , 1081 );
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -888,3 +888,11 @@ function update_r1079() {
|
||||
return UPDATE_SUCCESS;
|
||||
return UPDATE_FAILED;
|
||||
}
|
||||
|
||||
function update_r1080() {
|
||||
$r = q("ALTER TABLE `mail` ADD `expires` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
ADD INDEX ( `expires` ) ");
|
||||
if($r)
|
||||
return UPDATE_SUCCESS;
|
||||
return UPDATE_FAILED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user