"howlong" added to marital status.

This commit is contained in:
friendica 2012-06-02 02:30:26 -07:00
parent 29bdf432f0
commit 608d424b0b
8 changed files with 33 additions and 5 deletions

View file

@ -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 ;
}