Commit ce3bbc87 authored by sun's avatar sun
Browse files

Added System module update to ease developer testing.

parent d179538a
......@@ -1682,6 +1682,36 @@ function system_update_8002() {
}
}
/**
* Add {config} table for new Configuration system.
*/
function system_update_8003() {
// @todo Temporary.
if (db_table_exists('config')) {
db_drop_table('config');
}
db_create_table('config', array(
'description' => 'Default active store for the configuration system.',
'fields' => array(
'name' => array(
'description' => 'The identifier for the configuration entry, such as module.example (the name of the file, minus .json.php).',
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
),
'data' => array(
'description' => 'The raw JSON data for this configuration entry.',
'type' => 'blob',
'not null' => TRUE,
'size' => 'big',
'translatable' => TRUE,
),
),
'primary key' => array('name'),
));
}
/**
* @} End of "defgroup updates-7.x-to-8.x"
* The next series of updates should start at 9000.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment