"howlong" added to marital status.
This commit is contained in:
11
update.php
11
update.php
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
define( 'UPDATE_VERSION' , 1145 );
|
||||
define( 'UPDATE_VERSION' , 1146 );
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -1259,3 +1259,12 @@ function update_1144() {
|
||||
return UPDATE_FAILED ;
|
||||
return UPDATE_SUCCESS ;
|
||||
}
|
||||
|
||||
function update_1145() {
|
||||
$r = q("alter table profile add howlong datetime not null default '0000-00-00 00:00:00' after `with`");
|
||||
if(! $r)
|
||||
return UPDATE_FAILED ;
|
||||
return UPDATE_SUCCESS ;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user