summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/field_test.install
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-02-05 03:42:58 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-02-05 03:42:58 +0000
commitf3ed3283db182dfbbf35f5db077ebce2bc368bfe (patch)
treef2581841cbca28f3aebce26ee331ac3c72dd20de /modules/simpletest/tests/field_test.install
parent8bac2dd319a42cade43b06218cbef31bf8f4867d (diff)
downloadbrdo-f3ed3283db182dfbbf35f5db077ebce2bc368bfe.tar.gz
brdo-f3ed3283db182dfbbf35f5db077ebce2bc368bfe.tar.bz2
#361683 follow-up by sun: Remove more windows line endings.
Diffstat (limited to 'modules/simpletest/tests/field_test.install')
-rw-r--r--modules/simpletest/tests/field_test.install94
1 files changed, 47 insertions, 47 deletions
diff --git a/modules/simpletest/tests/field_test.install b/modules/simpletest/tests/field_test.install
index c706ebfe4..d64886b5d 100644
--- a/modules/simpletest/tests/field_test.install
+++ b/modules/simpletest/tests/field_test.install
@@ -2,59 +2,59 @@
// $Id$
/**
- * Implementation of hook_schema().
+ * Implementation of hook_schema().
*/
function field_test_schema() {
$schema['test_entity'] = array(
- 'description' => 'The base table for test_entities.',
- 'fields' => array(
- 'ftid' => array(
- 'description' => 'The primary identifier for a test_entity.',
- 'type' => 'serial',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- ),
- 'ftvid' => array(
- 'description' => 'The current {test_entity_revision}.ftvid version identifier.',
- 'type' => 'int',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- 'default' => 0,
- ),
- 'fttype' => array(
- 'description' => 'The type of this test_entity.',
- 'type' => 'varchar',
- 'length' => 32,
- 'not null' => TRUE,
- 'default' => '',
+ 'description' => 'The base table for test_entities.',
+ 'fields' => array(
+ 'ftid' => array(
+ 'description' => 'The primary identifier for a test_entity.',
+ 'type' => 'serial',
+ 'unsigned' => TRUE,
+ 'not null' => TRUE,
+ ),
+ 'ftvid' => array(
+ 'description' => 'The current {test_entity_revision}.ftvid version identifier.',
+ 'type' => 'int',
+ 'unsigned' => TRUE,
+ 'not null' => TRUE,
+ 'default' => 0,
+ ),
+ 'fttype' => array(
+ 'description' => 'The type of this test_entity.',
+ 'type' => 'varchar',
+ 'length' => 32,
+ 'not null' => TRUE,
+ 'default' => '',
),
),
- 'unique keys' => array(
- 'ftvid' => array('ftvid'),
- ),
+ 'unique keys' => array(
+ 'ftvid' => array('ftvid'),
+ ),
'primary key' => array('ftid'),
- );
- $schema['test_entity_revision'] = array(
- 'description' => 'Stores information about each saved version of a {test_entity}.',
- 'fields' => array(
- 'ftid' => array(
- 'description' => 'The {test_entity} this version belongs to.',
- 'type' => 'int',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- 'default' => 0,
- ),
- 'ftvid' => array(
- 'description' => 'The primary identifier for this version.',
- 'type' => 'serial',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- ),
- ),
- 'indexes' => array(
- 'nid' => array('ftid'),
- ),
- 'primary key' => array('ftvid'),
+ );
+ $schema['test_entity_revision'] = array(
+ 'description' => 'Stores information about each saved version of a {test_entity}.',
+ 'fields' => array(
+ 'ftid' => array(
+ 'description' => 'The {test_entity} this version belongs to.',
+ 'type' => 'int',
+ 'unsigned' => TRUE,
+ 'not null' => TRUE,
+ 'default' => 0,
+ ),
+ 'ftvid' => array(
+ 'description' => 'The primary identifier for this version.',
+ 'type' => 'serial',
+ 'unsigned' => TRUE,
+ 'not null' => TRUE,
+ ),
+ ),
+ 'indexes' => array(
+ 'nid' => array('ftid'),
+ ),
+ 'primary key' => array('ftvid'),
);
return $schema;