Community Documentation

Single, Multiple, and Shared Fields

Last updated July 24, 2009. Created by KarenS on January 25, 2007.
Edited by bekasu, add1sun. Log in to edit this page.

single value field

multiple value field

shared field

Note that for CCK 5.x-1.9, the actual names and structures for the tables in these diagrams are as follows:

Content Type
node_type
Columns modified, locked, orig_type are just hidden by the layout of the first and third diagrams, but are not actually removed
Content Data table
content_type_<type name>
Field are actually in this order:

  1. vid (PK)
  2. nid
  3. field_* columns
Field Instance
node_field_instance
Field
node_field
Field data table
content_field_<field name>
Field are actually in this order:

  1. vid PK[0]
  2. delta PK[1]
  3. nid Index
  4. field_* columns

About this page

Drupal version
Drupal 4.7.x, Drupal 5.x

Structure Guide

Drupal’s online documentation is © 2000-2012 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.
nobody click here