add cache table
This commit is contained in:
parent
49ea05b8ff
commit
6efc78e0e4
2
boot.php
2
boot.php
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set_time_limit(0);
|
set_time_limit(0);
|
||||||
|
|
||||||
define ( 'BUILD_ID', 1033 );
|
define ( 'BUILD_ID', 1034 );
|
||||||
define ( 'FRIENDIKA_VERSION', '2.10.0902' );
|
define ( 'FRIENDIKA_VERSION', '2.10.0902' );
|
||||||
define ( 'DFRN_PROTOCOL_VERSION', '2.0' );
|
define ( 'DFRN_PROTOCOL_VERSION', '2.0' );
|
||||||
|
|
||||||
|
|
|
@ -471,4 +471,8 @@ CREATE TABLE IF NOT EXISTS `event` (
|
||||||
`deny_gid` MEDIUMTEXT NOT NULL
|
`deny_gid` MEDIUMTEXT NOT NULL
|
||||||
) ENGINE = MYISAM DEFAULT CHARSET=utf8;
|
) ENGINE = MYISAM DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS 'cache' (
|
||||||
|
`k` CHAR( 255 ) NOT NULL PRIMARY KEY ,
|
||||||
|
`v` TEXT NOT NULL,
|
||||||
|
`updated` DATETIME NOT NULL
|
||||||
|
) ENGINE = MYISAM DEFAULT CHARSET=utf8;
|
||||||
|
|
|
@ -320,3 +320,11 @@ function update_1031() {
|
||||||
function update_1032() {
|
function update_1032() {
|
||||||
q("ALTER TABLE `profile` ADD `pdesc` CHAR( 255 ) NOT NULL AFTER `name` ");
|
q("ALTER TABLE `profile` ADD `pdesc` CHAR( 255 ) NOT NULL AFTER `name` ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function update_1033() {
|
||||||
|
q("CREATE TABLE IF NOT EXISTS `cache` (
|
||||||
|
`k` CHAR( 255 ) NOT NULL PRIMARY KEY ,
|
||||||
|
`v` TEXT NOT NULL,
|
||||||
|
`updated` DATETIME NOT NULL
|
||||||
|
) ENGINE = MYISAM DEFAULT CHARSET=utf8;");
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue