Browse Source

structures for friend suggestions

pull/1/head
Friendika 11 years ago
parent
commit
a51fc14e69
  1. 2
      boot.php
  2. 1
      database.sql
  3. 7
      update.php

2
boot.php

@ -6,7 +6,7 @@ ini_set('pcre.backtrack_limit', 250000);
define ( 'FRIENDIKA_VERSION', '2.2.1018' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
define ( 'DB_UPDATE_VERSION', 1065 );
define ( 'DB_UPDATE_VERSION', 1066 );
define ( 'EOL', "<br />\r\n" );
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );

1
database.sql

@ -139,6 +139,7 @@ CREATE TABLE IF NOT EXISTS `group_member` (
CREATE TABLE IF NOT EXISTS `intro` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uid` int(10) unsigned NOT NULL,
`fid` int(11) NOT NULL DEFAULT '0',
`contact-id` int(11) NOT NULL,
`knowyou` tinyint(1) NOT NULL,
`duplex` tinyint(1) NOT NULL DEFAULT '0',

7
update.php

@ -1,6 +1,6 @@
<?php
define( 'UPDATE_VERSION' , 1065 );
define( 'UPDATE_VERSION' , 1066 );
/**
*
@ -524,3 +524,8 @@ function update_1063() {
function update_1064() {
q("ALTER TABLE `item` ADD `app` CHAR( 255 ) NOT NULL AFTER `body` ");
}
function update_1065() {
q("ALTER TABLE `intro` ADD `fid` INT NOT NULL DEFAULT '0' AFTER `uid`");
}

Loading…
Cancel
Save