1
1
Fork 0

add hometown to profiles

This commit is contained in:
friendica 2012-06-02 20:58:20 -07:00
commit d27c6de84e
8 changed files with 34 additions and 4 deletions

View file

@ -1,6 +1,6 @@
<?php
define( 'UPDATE_VERSION' , 1146 );
define( 'UPDATE_VERSION' , 1147 );
/**
*
@ -1267,4 +1267,11 @@ function update_1145() {
return UPDATE_SUCCESS ;
}
function update_1146() {
$r = q("alter table profile add hometown char(255) not null after `country-name`, add index ( `hometown` ) ");
if(! $r)
return UPDATE_FAILED ;
return UPDATE_SUCCESS ;
}