friend suggest structures, cont.
This commit is contained in:
parent
c9604ef578
commit
22e8922088
2
boot.php
2
boot.php
|
@ -6,7 +6,7 @@ ini_set('pcre.backtrack_limit', 250000);
|
||||||
|
|
||||||
define ( 'FRIENDIKA_VERSION', '2.2.1022' );
|
define ( 'FRIENDIKA_VERSION', '2.2.1022' );
|
||||||
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
|
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
|
||||||
define ( 'DB_UPDATE_VERSION', 1067 );
|
define ( 'DB_UPDATE_VERSION', 1068 );
|
||||||
|
|
||||||
define ( 'EOL', "<br />\r\n" );
|
define ( 'EOL', "<br />\r\n" );
|
||||||
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
|
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
|
||||||
|
|
|
@ -514,6 +514,8 @@ CREATE TABLE IF NOT EXISTS `fcontact` (
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `ffinder` (
|
CREATE TABLE IF NOT EXISTS `ffinder` (
|
||||||
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
|
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
|
||||||
|
`type` CHAR( 16 ) NOT NULL,
|
||||||
|
`note` TEXT NOT NULL,
|
||||||
`uid` INT UNSIGNED NOT NULL ,
|
`uid` INT UNSIGNED NOT NULL ,
|
||||||
`cid` INT UNSIGNED NOT NULL ,
|
`cid` INT UNSIGNED NOT NULL ,
|
||||||
`fid` INT UNSIGNED NOT NULL
|
`fid` INT UNSIGNED NOT NULL
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
define( 'UPDATE_VERSION' , 1067 );
|
define( 'UPDATE_VERSION' , 1068 );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -535,4 +535,9 @@ function update_1066() {
|
||||||
q("ALTER TABLE `item` ADD INDEX ( `received` ) ");
|
q("ALTER TABLE `item` ADD INDEX ( `received` ) ");
|
||||||
|
|
||||||
$r = q("UPDATE `item` SET `received` = `edited` WHERE 1");
|
$r = q("UPDATE `item` SET `received` = `edited` WHERE 1");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function update_1067() {
|
||||||
|
q("ALTER TABLE `ffinder` ADD `type` CHAR( 16 ) NOT NULL AFTER `id` ,
|
||||||
|
ADD `note` TEXT NOT NULL AFTER `type` ");
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue