friend suggest structures, cont.
This commit is contained in:
parent
c9604ef578
commit
22e8922088
3 changed files with 10 additions and 3 deletions
2
boot.php
2
boot.php
|
@ -6,7 +6,7 @@ ini_set('pcre.backtrack_limit', 250000);
|
|||
|
||||
define ( 'FRIENDIKA_VERSION', '2.2.1022' );
|
||||
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
|
||||
define ( 'DB_UPDATE_VERSION', 1067 );
|
||||
define ( 'DB_UPDATE_VERSION', 1068 );
|
||||
|
||||
define ( 'EOL', "<br />\r\n" );
|
||||
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` (
|
||||
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
|
||||
`type` CHAR( 16 ) NOT NULL,
|
||||
`note` TEXT NOT NULL,
|
||||
`uid` INT UNSIGNED NOT NULL ,
|
||||
`cid` INT UNSIGNED NOT NULL ,
|
||||
`fid` INT UNSIGNED NOT NULL
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
define( 'UPDATE_VERSION' , 1067 );
|
||||
define( 'UPDATE_VERSION' , 1068 );
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -536,3 +536,8 @@ function update_1066() {
|
|||
|
||||
$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