summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-07-10 01:57:32 +0000
committerDries Buytaert <dries@buytaert.net>2010-07-10 01:57:32 +0000
commit3e44e9eed677f71329bbdcdfe6db4032578c9111 (patch)
tree448584d2c6a694da01028f56d7aa1d8bf154fb94 /modules/system/system.install
parent57ab633bc52c08aacc0463d496ff09f034e0f8d1 (diff)
downloadbrdo-3e44e9eed677f71329bbdcdfe6db4032578c9111.tar.gz
brdo-3e44e9eed677f71329bbdcdfe6db4032578c9111.tar.bz2
- Patch #819388 by pwolanin: switch registry back to using hashes not file mtime and ctime.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install14
1 files changed, 4 insertions, 10 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index aa42738c8..47b04d1f2 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -1346,17 +1346,11 @@ function system_schema() {
'length' => 255,
'not null' => TRUE,
),
- 'filectime' => array(
- 'description' => "The creation time of the file when last parsed.",
- 'type' => 'int',
- 'not null' => TRUE,
- 'default' => 0,
- ),
- 'filemtime' => array(
- 'description' => "The modification time of the file when last parsed.",
- 'type' => 'int',
+ 'hash' => array(
+ 'description' => "sha-256 hash of the file's contents when last parsed.",
+ 'type' => 'varchar',
+ 'length' => 64,
'not null' => TRUE,
- 'default' => 0,
),
),
'primary key' => array('filename'),