summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-24 23:19:21 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-24 23:19:21 +0000
commit9130cc5e2dc9565d7a5e3ff1f3f3c500e02c6051 (patch)
tree8ffa1509d85588f428eef2ea1e3eb5fb7d4a86b3 /modules/system
parent47328efca6b662587929208a0646f6fdbbb759ee (diff)
downloadbrdo-9130cc5e2dc9565d7a5e3ff1f3f3c500e02c6051.tar.gz
brdo-9130cc5e2dc9565d7a5e3ff1f3f3c500e02c6051.tar.bz2
#613238 by catch: Add more missing columns and tables required for upgrade.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.install88
1 files changed, 1 insertions, 87 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 73532e2eb..c99c68a4e 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -2708,93 +2708,7 @@ function system_update_7039() {
* Create new date format tables.
*/
function system_update_7040() {
- $schema['date_format_type'] = array(
- 'description' => 'Stores configured date format types.',
- 'fields' => array(
- 'type' => array(
- 'description' => 'The date format type, e.g. medium.',
- 'type' => 'varchar',
- 'length' => 64,
- 'not null' => TRUE,
- ),
- 'title' => array(
- 'description' => 'The human readable name of the format type.',
- 'type' => 'varchar',
- 'length' => 255,
- 'not null' => TRUE,
- ),
- 'locked' => array(
- 'description' => 'Whether or not this is a system provided format.',
- 'type' => 'int',
- 'size' => 'tiny',
- 'default' => 0,
- 'not null' => TRUE,
- ),
- ),
- 'primary key' => array('type'),
- );
-
- $schema['date_formats'] = array(
- 'description' => 'Stores configured date formats.',
- 'fields' => array(
- 'dfid' => array(
- 'description' => 'The date format identifier.',
- 'type' => 'serial',
- 'not null' => TRUE,
- 'unsigned' => TRUE,
- ),
- 'format' => array(
- 'description' => 'The date format string.',
- 'type' => 'varchar',
- 'length' => 100,
- 'not null' => TRUE,
- ),
- 'type' => array(
- 'description' => 'The date format type, e.g. medium.',
- 'type' => 'varchar',
- 'length' => 64,
- 'not null' => TRUE,
- ),
- 'locked' => array(
- 'description' => 'Whether or not this format can be modified.',
- 'type' => 'int',
- 'size' => 'tiny',
- 'default' => 0,
- 'not null' => TRUE,
- ),
- ),
- 'primary key' => array('dfid'),
- 'unique keys' => array('formats' => array('format', 'type')),
- );
-
- $schema['date_format_locale'] = array(
- 'description' => 'Stores configured date formats for each locale.',
- 'fields' => array(
- 'format' => array(
- 'description' => 'The date format string.',
- 'type' => 'varchar',
- 'length' => 100,
- 'not null' => TRUE,
- ),
- 'type' => array(
- 'description' => 'The date format type, e.g. medium.',
- 'type' => 'varchar',
- 'length' => 64,
- 'not null' => TRUE,
- ),
- 'language' => array(
- 'description' => 'A {languages}.language for this format to be used with.',
- 'type' => 'varchar',
- 'length' => 12,
- 'not null' => TRUE,
- ),
- ),
- 'primary key' => array('type', 'language'),
- );
-
- db_create_table('date_format_type', $schema['date_format_type']);
- db_create_table('date_formats', $schema['date_formats']);
- db_create_table('date_format_locale', $schema['date_format_locale']);
+ // Moved to update_fix_d7_requirements().
}
/**