extensible item_id table for managing all the different message-ids generated by multiple services
This commit is contained in:
parent
cdb6510b9f
commit
8a8702c9cd
4
boot.php
4
boot.php
|
@ -9,9 +9,9 @@ require_once('include/nav.php');
|
||||||
require_once('include/cache.php');
|
require_once('include/cache.php');
|
||||||
|
|
||||||
define ( 'FRIENDICA_PLATFORM', 'Friendica');
|
define ( 'FRIENDICA_PLATFORM', 'Friendica');
|
||||||
define ( 'FRIENDICA_VERSION', '2.3.1308' );
|
define ( 'FRIENDICA_VERSION', '2.3.1309' );
|
||||||
define ( 'DFRN_PROTOCOL_VERSION', '2.23' );
|
define ( 'DFRN_PROTOCOL_VERSION', '2.23' );
|
||||||
define ( 'DB_UPDATE_VERSION', 1137 );
|
define ( 'DB_UPDATE_VERSION', 1138 );
|
||||||
|
|
||||||
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' );
|
||||||
|
|
12
database.sql
12
database.sql
|
@ -782,16 +782,12 @@ INDEX ( `otype` )
|
||||||
CREATE TABLE IF NOT EXISTS `item_id` (
|
CREATE TABLE IF NOT EXISTS `item_id` (
|
||||||
`iid` INT NOT NULL ,
|
`iid` INT NOT NULL ,
|
||||||
`uid` INT NOT NULL ,
|
`uid` INT NOT NULL ,
|
||||||
`face` CHAR( 255 ) NOT NULL ,
|
`sid` CHAR ( 255 ) NOT NULL,
|
||||||
`dspr` CHAR( 255 ) NOT NULL ,
|
`service` char ( 255 ) NOT NULL,
|
||||||
`twit` CHAR( 255 ) NOT NULL ,
|
|
||||||
`stat` CHAR( 255 ) NOT NULL ,
|
|
||||||
PRIMARY KEY ( `iid` ),
|
PRIMARY KEY ( `iid` ),
|
||||||
INDEX ( `uid` ),
|
INDEX ( `uid` ),
|
||||||
INDEX ( `face` ),
|
INDEX ( `sid` ),
|
||||||
INDEX ( `dspr` ),
|
INDEX ( `service` )
|
||||||
INDEX ( `twit` ),
|
|
||||||
INDEX ( `stat` )
|
|
||||||
) ENGINE = MyISAM DEFAULT CHARSET=utf8;
|
) ENGINE = MyISAM DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `manage` (
|
CREATE TABLE IF NOT EXISTS `manage` (
|
||||||
|
|
11
update.php
11
update.php
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
define( 'UPDATE_VERSION' , 1137 );
|
define( 'UPDATE_VERSION' , 1138 );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -1205,4 +1205,11 @@ function update_1136() {
|
||||||
q("ALTER TABLE `config` ADD UNIQUE `access` ( `cat` , `k` ) ");
|
q("ALTER TABLE `config` ADD UNIQUE `access` ( `cat` , `k` ) ");
|
||||||
q("ALTER TABLE `pconfig` ADD UNIQUE `access` ( `uid` , `cat` , `k` )");
|
q("ALTER TABLE `pconfig` ADD UNIQUE `access` ( `uid` , `cat` , `k` )");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function update_1137() {
|
||||||
|
q("alter table item_id DROP `face` , DROP `dspr` , DROP `twit` , DROP `stat` ");
|
||||||
|
q("ALTER TABLE `item_id` ADD `sid` CHAR( 255 ) NOT NULL AFTER `uid` , ADD `service` CHAR( 255 ) NOT NULL AFTER `sid` , add index (`sid`), add index ( `service`) ");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
894
util/messages.po
894
util/messages.po
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue