add the project name to site info packet
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
define( 'UPDATE_VERSION' , 1157 );
|
||||
define( 'UPDATE_VERSION' , 1158 );
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -1774,3 +1774,13 @@ function update_r1155() {
|
||||
function update_r1156() {
|
||||
return UPDATE_SUCCESS;
|
||||
}
|
||||
|
||||
function update_r1157() {
|
||||
$r1 = q("alter table site add site_project char(255) not null default '' ");
|
||||
$r2 = q("create index site_project on site ( site_project ) ");
|
||||
if($r1 && $r2)
|
||||
return UPDATE_SUCCESS;
|
||||
return UPDATE_FAILED;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user