summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install24
1 files changed, 24 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index ca4412853..b07441ec9 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -3527,6 +3527,30 @@ function system_update_6027() {
}
/**
+ * Add the node load cache table.
+ */
+function system_update_6028() {
+ $ret = array();
+
+ // Create the cache_node table.
+ $schema['cache_node'] = array(
+ 'fields' => array(
+ 'cid' => array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => ''),
+ 'data' => array('type' => 'blob', 'not null' => FALSE, 'size' => 'big'),
+ 'expire' => array('type' => 'int', 'not null' => TRUE, 'default' => 0),
+ 'created' => array('type' => 'int', 'not null' => TRUE, 'default' => 0),
+ 'headers' => array('type' => 'text', 'not null' => FALSE),
+ 'serialized' => array('type' => 'int', 'size' => 'small', 'not null' => TRUE, 'default' => 0)
+ ),
+ 'indexes' => array('expire' => array('expire')),
+ 'primary key' => array('cid'),
+ );
+ db_create_table($ret, 'cache_node', $schema['cache_node']);
+
+ return $ret;
+}
+
+/**
* @} End of "defgroup updates-5.x-to-6.x"
* The next series of updates should start at 7000.
*/