diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-09-05 08:27:57 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-09-05 08:27:57 +0000 |
commit | 531b45d045cd1468a37ebf1de4d39352e51360b9 (patch) | |
tree | 7c012819cd42d7511066b1598363add079a5a3aa /modules/forum/forum.schema | |
parent | 2db2c039fb5caabf511c95f15034ec18b39533d4 (diff) | |
download | brdo-531b45d045cd1468a37ebf1de4d39352e51360b9.tar.gz brdo-531b45d045cd1468a37ebf1de4d39352e51360b9.tar.bz2 |
- Patch #172643 by chx and fresco: fixed the leave shadow copy functionality.
Diffstat (limited to 'modules/forum/forum.schema')
-rw-r--r-- | modules/forum/forum.schema | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/forum/forum.schema b/modules/forum/forum.schema index e69de29bb..738fb8e39 100644 --- a/modules/forum/forum.schema +++ b/modules/forum/forum.schema @@ -0,0 +1,18 @@ +<?php + +function forum_schema() { + $schema['forum'] = array( + 'fields' => array( + 'nid' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0), + 'vid' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0), + 'tid' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0) + ), + 'indexes' => array( + 'nid' => array('nid'), + 'tid' => array('tid') + ), + 'primary key' => array('vid'), + ); + + return $schema; +} |