provide "service_class" identifier which will let us provide service_class limits such as number of FB friends, etc.
This commit is contained in:
parent
06d6ab4812
commit
dc31b93941
3 changed files with 14 additions and 3 deletions
11
update.php
11
update.php
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
define( 'UPDATE_VERSION' , 1142 );
|
||||
define( 'UPDATE_VERSION' , 1143 );
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -1239,3 +1239,12 @@ function update_1141() {
|
|||
}
|
||||
|
||||
|
||||
function update_1142() {
|
||||
$r = q("alter table user add service_class char(32) not null after expire_notification_sent, add index(service_class) ");
|
||||
if(! $r)
|
||||
return UPDATE_FAILED ;
|
||||
return UPDATE_SUCCESS ;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue