1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-13 20:24:08 +02:00

Added support for db-based caching... for people who like to store data in databases.

git-svn-id: file:///svn/phpbb/trunk@4368 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Ludovic Arnaud
2003-08-10 19:46:03 +00:00
parent 772cc44895
commit 2ada6c5380
5 changed files with 199 additions and 1 deletions

View File

@@ -131,6 +131,14 @@ CREATE TRIGGER phpbb_banlist_trig
NEW.ban_id = GEN_ID(phpbb_banlist_gen, 1)|
END;
# Table: 'phpbb_cache'
CREATE TABLE phpbb_cache (
var_name VARCHAR(255) NOT NULL,
var_ts INTEGER DEFAULT 0 NOT NULL,
var_data TEXT DEFAULT '' NOT NULL,
PRIMARY KEY (var_name)
);
# Table: 'phpbb_config'
CREATE TABLE phpbb_config (
config_name VARCHAR(50) NOT NULL,

View File

@@ -88,6 +88,14 @@ CREATE TABLE phpbb_banlist (
PRIMARY KEY (ban_id)
);
# Table: 'phpbb_cache'
CREATE TABLE phpbb_cache (
var_name varchar(255) DEFAULT '' NOT NULL,
var_ts int(10) UNSIGNED DEFAULT '0' NOT NULL,
var_data text NOT NULL,
PRIMARY KEY (var_name)
);
# Table: 'phpbb_config'
CREATE TABLE phpbb_config (
config_name varchar(255) NOT NULL,

View File

@@ -78,6 +78,14 @@ CREATE TABLE phpbb_banlist (
PRIMARY KEY (ban_id)
);
-- Table: 'phpbb_cache'
CREATE TABLE phpbb_cache (
var_name VARCHAR(255) NOT NULL,
var_ts INTEGER DEFAULT 0 NOT NULL,
var_data TEXT DEFAULT '' NOT NULL,
PRIMARY KEY (var_name)
);
-- Table: 'phpbb_config'
CREATE TABLE phpbb_config (
config_name VARCHAR(50) NOT NULL,