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.install29
1 files changed, 29 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 79f732b85..46e2a6fd6 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -3561,6 +3561,35 @@ function system_update_6029() {
}
/**
+ * Add the tables required by actions.inc.
+ */
+function system_update_6030() {
+ $ret = array();
+ $schema['actions'] = array(
+ 'fields' => array(
+ 'aid' => array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => '0'),
+ 'type' => array('type' => 'varchar', 'length' => 32, 'not null' => TRUE, 'default' => ''),
+ 'callback' => array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => ''),
+ 'parameters' => array('type' => 'text', 'not null' => TRUE, 'size' => 'big'),
+ 'description' => array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => '0'),
+ ),
+ 'primary key' => array('aid'),
+ );
+
+ $schema['actions_aid'] = array(
+ 'fields' => array(
+ 'aid' => array('type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE),
+ ),
+ 'primary key' => array('aid'),
+ );
+
+ db_create_table($ret, 'actions', $schema['actions']);
+ db_create_table($ret, 'actions_aid', $schema['actions_aid']);
+
+ return $ret;
+}
+
+/**
* @} End of "defgroup updates-5.x-to-6.x"
* The next series of updates should start at 7000.
*/