Now you can define the duration of the cache entries.

This commit is contained in:
Michael Vogel 2015-08-24 17:24:14 +02:00
parent 26c5c7991a
commit b52bc71c6c
9 changed files with 33 additions and 22 deletions

View file

@ -364,6 +364,7 @@ function db_definition() {
"fields" => array(
"k" => array("type" => "varchar(255)", "not null" => "1", "primary" => "1"),
"v" => array("type" => "text", "not null" => "1"),
"expire_mode" => array("type" => "int(11)", "not null" => "1", "default" => "0"),
"updated" => array("type" => "datetime", "not null" => "1", "default" => "0000-00-00 00:00:00"),
),
"indexes" => array(