diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-06-14 15:41:03 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-06-14 15:41:03 +0000 |
commit | 9cf21be9949ad70b4fb41eed0d4b8204afead2f8 (patch) | |
tree | c01d1e3cc750c26a541f81a293ea9bcbd64d73a8 /modules/field/tests/field_test.install | |
parent | f6d56f96c306a9e9ec3202c087321edc39d65b03 (diff) | |
download | brdo-9cf21be9949ad70b4fb41eed0d4b8204afead2f8.tar.gz brdo-9cf21be9949ad70b4fb41eed0d4b8204afead2f8.tar.bz2 |
- Patch #780154 by chx, noahb, dhthwy, pwolanin, aspilicious, jhodgdon, dereine, bjaspan: listing API for field API.
Diffstat (limited to 'modules/field/tests/field_test.install')
-rw-r--r-- | modules/field/tests/field_test.install | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/modules/field/tests/field_test.install b/modules/field/tests/field_test.install index 72a2deee6..d16d79ee8 100644 --- a/modules/field/tests/field_test.install +++ b/modules/field/tests/field_test.install @@ -50,6 +50,37 @@ function field_test_schema() { ), 'primary key' => array('ftid'), ); + $schema['test_entity_bundle_key'] = array( + 'description' => 'The base table for test entities with a bundle key.', + 'fields' => array( + 'ftid' => array( + 'description' => 'The primary indentifier for a test_entity_bundle_key.', + 'type' => 'int', + 'unsigned' => TRUE, + 'not null' => TRUE, + 'default' => 0, + ), + 'fttype' => array( + 'description' => 'The type of this test_entity.', + 'type' => 'varchar', + 'length' => 32, + 'not null' => FALSE, + 'default' => '', + ), + ), + ); + $schema['test_entity_bundle'] = array( + 'description' => 'The base table for test entities with a bundle.', + 'fields' => array( + 'ftid' => array( + 'description' => 'The primary indentifier for a test_entity_bundle.', + 'type' => 'int', + 'unsigned' => TRUE, + 'not null' => TRUE, + 'default' => 0, + ), + ), + ); $schema['test_entity_revision'] = array( 'description' => 'Stores information about each saved version of a {test_entity}.', 'fields' => array( |