add hometown to profiles
This commit is contained in:
parent
3d39e6e594
commit
d27c6de84e
8 changed files with 34 additions and 4 deletions
|
@ -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 ;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue