add hometown to profiles
This commit is contained in:
+8
-1
@@ -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 ;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user