public site list (will take a few days to populate, assuming folks have updated their site access policy which old sites do not have)
This commit is contained in:
@@ -818,11 +818,13 @@ CREATE TABLE IF NOT EXISTS `shares` (
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `site` (
|
||||
`site_url` char(255) NOT NULL,
|
||||
`site_access` int(11) NOT NULL DEFAULT '0',
|
||||
`site_flags` int(11) NOT NULL DEFAULT '0',
|
||||
`site_update` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`site_directory` char(255) NOT NULL DEFAULT '',
|
||||
`site_register` int(11) NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`site_url`),
|
||||
KEY `site_access` (`site_access`),
|
||||
KEY `site_flags` (`site_flags`),
|
||||
KEY `site_update` (`site_update`),
|
||||
KEY `site_directory` (`site_directory`),
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
define( 'UPDATE_VERSION' , 1066 );
|
||||
define( 'UPDATE_VERSION' , 1067 );
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -766,3 +766,12 @@ ADD INDEX ( `layout_mid` ) ");
|
||||
return UPDATE_SUCCESS;
|
||||
return UPDATE_FAILED;
|
||||
}
|
||||
|
||||
function update_r1066() {
|
||||
$r = q("ALTER TABLE `site` ADD `site_access` INT NOT NULL DEFAULT '0' AFTER `site_url` ,
|
||||
ADD INDEX ( `site_access` )");
|
||||
if($r)
|
||||
return UPDATE_SUCCESS;
|
||||
return UPDATE_FAILED;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user