schema of the the 'drupal head' database - page...
TRANSCRIPT
Drupal schema
Table of contents
Page number: 31 accesslogPage number: 42 aggregator_categoryPage number: 53 aggregator_category_feedPage number: 64 aggregator_feedPage number: 75 aggregator_itemPage number: 86 bookPage number: 97 boxesPage number: 108 commentsPage number: 119 filesPage number: 1210 filter_formatsPage number: 1311 forumPage number: 1412 historyPage number: 1513 moderation_rolesPage number: 1614 moderation_votesPage number: 1715 nodePage number: 1816 node_accessPage number: 1917 node_comment_statisticsPage number: 2018 node_revisionsPage number: 2119 permissionPage number: 2220 pollPage number: 2321 rolePage number: 2422 search_indexPage number: 2523 search_totalPage number: 2624 sessionsPage number: 2725 term_dataPage number: 2826 term_hierarchy
Page number: 1/35 Nov 21, 2005 at 02:06 PM
Drupal schema
Page number: 2927 term_synonymPage number: 3028 usersPage number: 3129 users_rolesPage number: 3230 vocabularyPage number: 3331 vocabulary_node_typesPage number: 3432 watchdogPage number: 3533 Relational schema
Page number: 2/35 Nov 21, 2005 at 02:06 PM
Drupal schema
1 accesslog
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
aid int(10) Yes NULL auto_incrementsid varchar(32) Yes sessions -> sidtitle varchar(255) Yes NULLpath varchar(255) Yes NULLurl varchar(255) Yes NULLhostname varchar(128) Yes NULLuid int(10) UNSIGNED Yes 0 users -> uidtimer int(10) UNSIGNED Yes 0timestamp int(11) UNSIGNED Yes 0
Page number: 3/35 Nov 21, 2005 at 02:06 PM
Drupal schema
2 aggregator_category
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
cid int(10) Yes NULL auto_incrementtitle varchar(255) Yesdescription longtext Yesblock tinyint(2) Yes 0
Page number: 4/35 Nov 21, 2005 at 02:06 PM
Drupal schema
3 aggregator_category_feed
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
fid int(10) Yes 0cid int(10) Yes 0 aggregator_category -> cid
Page number: 5/35 Nov 21, 2005 at 02:06 PM
Drupal schema
4 aggregator_feed
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
fid int(10) Yes NULL auto_increment aggregator_item -> iidtitle varchar(255) Yesurl varchar(255) Yesrefresh int(10) Yes 0checked int(10) Yes 0link varchar(255) Yesdescription longtext Yesimage longtext Yesetag varchar(255) Yesmodified int(10) Yes 0block tinyint(2) Yes 0
Page number: 6/35 Nov 21, 2005 at 02:06 PM
Drupal schema
5 aggregator_item
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
iid int(10) Yes NULL auto_incrementfid int(10) Yes 0title varchar(255) Yeslink varchar(255) Yesauthor varchar(255) Yesdescription longtext Yestimestamp int(11) Yes NULL
Page number: 7/35 Nov 21, 2005 at 02:06 PM
Drupal schema
6 book
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
vid int(10) UNSIGNED Yes 0 node_revisions -> vidnid int(10) UNSIGNED Yes 0 node -> nidparent int(10) Yes 0weight tinyint(3) Yes 0
Page number: 8/35 Nov 21, 2005 at 02:06 PM
Drupal schema
7 boxes
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
bid tinyint(4) Yes NULL auto_incrementtitle varchar(64) Yesbody longtext Yes NULLinfo varchar(128) Yesformat int(4) Yes 0 filter_formats -> format
Page number: 9/35 Nov 21, 2005 at 02:06 PM
Drupal schema
8 comments
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
cid int(10) Yes NULL auto_incrementpid int(10) Yes 0 comments -> cidnid int(10) Yes 0 node -> niduid int(10) Yes 0 users -> uidsubject varchar(64) Yescomment longtext Yeshostname varchar(128) Yestimestamp int(11) Yes 0score mediumint(9) Yes 0status tinyint(3) UNSIGNED Yes 0format int(4) Yes 0thread varchar(255) Yesusers longtext Yes NULLname varchar(60) Yes NULLmail varchar(64) Yes NULLhomepage varchar(255) Yes NULL
Page number: 10/35 Nov 21, 2005 at 02:06 PM
Drupal schema
9 files
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
fid int(10) UNSIGNED Yes 0nid int(10) UNSIGNED Yes 0 node -> nidvid int(10) UNSIGNED Yes 0 node_revisions -> nidfilename varchar(255) Yesdescription varchar(255) Yesfilepath varchar(255) Yesfilemime varchar(255) Yesfilesize int(10) UNSIGNED Yes 0list tinyint(1) UNSIGNED Yes 0
Page number: 11/35 Nov 21, 2005 at 02:06 PM
Drupal schema
10 filter_formats
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
format int(4) Yes NULL auto_incrementname varchar(255) Yesroles varchar(255) Yes role -> ridcache tinyint(2) Yes 0
Page number: 12/35 Nov 21, 2005 at 02:06 PM
Drupal schema
11 forum
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
nid int(10) UNSIGNED Yes 0 node -> nidvid int(10) UNSIGNED Yes 0 node_revisions -> vidtid int(10) UNSIGNED Yes 0 term_data -> tid
Page number: 13/35 Nov 21, 2005 at 02:06 PM
Drupal schema
12 history
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
uid int(10) Yes 0 users -> uidnid int(10) Yes 0 node_revisions -> nidtimestamp int(11) Yes 0
Page number: 14/35 Nov 21, 2005 at 02:06 PM
Drupal schema
13 moderation_roles
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PMLast check: Nov 20, 2005 at 09:03 PM
Field Type Attributes Null Default Extra Links to Comments MIME
rid int(10) UNSIGNED Yes 0 role -> ridmid int(10) UNSIGNED Yes 0 moderation_votes -> midvalue tinyint(4) Yes 0
Page number: 15/35 Nov 21, 2005 at 02:06 PM
Drupal schema
14 moderation_votes
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
mid int(10) UNSIGNED Yes NULL auto_incrementvote varchar(255) Yes NULLweight tinyint(4) Yes 0
Page number: 16/35 Nov 21, 2005 at 02:06 PM
Drupal schema
15 node
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
nid int(10) UNSIGNED Yes NULL auto_incrementvid int(10) UNSIGNED Yes 0 node_revisions -> vidtype varchar(32) Yestitle varchar(128) Yesuid int(10) Yes 0 users -> uidstatus int(4) Yes 1created int(11) Yes 0changed int(11) Yes 0comment int(2) Yes 0promote int(2) Yes 0moderate int(2) Yes 0sticky int(2) Yes 0
Page number: 17/35 Nov 21, 2005 at 02:06 PM
Drupal schema
16 node_access
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
nid int(10) UNSIGNED Yes 0 node -> nidgid int(10) UNSIGNED Yes 0realm varchar(255) Yesgrant_view tinyint(1) UNSIGNED Yes 0grant_update tinyint(1) UNSIGNED Yes 0grant_delete tinyint(1) UNSIGNED Yes 0
Page number: 18/35 Nov 21, 2005 at 02:06 PM
Drupal schema
17 node_comment_statistics
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
nid int(10) UNSIGNED Yes NULL auto_increment node -> nidlast_comment_timestamp
int(11) Yes 0
last_comment_name
varchar(60) Yes NULL
last_comment_uid int(10) Yes 0 users -> uidcomment_count int(10) UNSIGNED Yes 0
Page number: 19/35 Nov 21, 2005 at 02:06 PM
Drupal schema
18 node_revisions
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
nid int(10) UNSIGNED Yes node -> nidvid int(10) UNSIGNED Yesuid int(10) Yes 0 users -> uidtitle varchar(128) Yesbody longtext Yesteaser longtext Yeslog longtext Yestimestamp int(11) Yes 0format int(4) Yes 0
Page number: 20/35 Nov 21, 2005 at 02:06 PM
Drupal schema
19 permission
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
rid int(10) UNSIGNED Yes 0 role -> ridperm longtext Yes NULLtid int(10) UNSIGNED Yes 0
Page number: 21/35 Nov 21, 2005 at 02:06 PM
Drupal schema
20 poll
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
nid int(10) UNSIGNED Yes 0 node -> nidruntime int(10) Yes 0polled longtext Yesactive int(2) UNSIGNED Yes 0
Page number: 22/35 Nov 21, 2005 at 02:06 PM
Drupal schema
21 role
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
rid int(10) UNSIGNED Yes NULL auto_incrementname varchar(32) Yes
Page number: 23/35 Nov 21, 2005 at 02:06 PM
Drupal schema
22 search_index
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
word varchar(50) Yes search_total -> wordsid int(10) UNSIGNED Yes 0type varchar(16) Yes NULLfromsid int(10) UNSIGNED Yes 0fromtype varchar(16) Yes NULLscore float Yes NULL
Page number: 24/35 Nov 21, 2005 at 02:06 PM
Drupal schema
23 search_total
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
word varchar(50) Yescount float Yes NULL
Page number: 25/35 Nov 21, 2005 at 02:06 PM
Drupal schema
24 sessions
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
uid int(10) UNSIGNED Yessid varchar(32) Yeshostname varchar(128) Yestimestamp int(11) Yes 0cache int(11) Yes 0session longtext Yes NULL
Page number: 26/35 Nov 21, 2005 at 02:06 PM
Drupal schema
25 term_data
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
tid int(10) UNSIGNED Yes NULL auto_incrementvid int(10) UNSIGNED Yes 0 vocabulary -> vidname varchar(255) Yesdescription longtext Yes NULLweight tinyint(4) Yes 0
Page number: 27/35 Nov 21, 2005 at 02:06 PM
Drupal schema
26 term_hierarchy
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
tid int(10) UNSIGNED Yes 0 term_data -> tidparent int(10) UNSIGNED Yes 0 term_hierarchy -> tid
Page number: 28/35 Nov 21, 2005 at 02:06 PM
Drupal schema
27 term_synonym
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
tid int(10) UNSIGNED Yes 0 term_data -> tidname varchar(255) Yes
Page number: 29/35 Nov 21, 2005 at 02:06 PM
Drupal schema
28 users
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
uid int(10) UNSIGNED Yes 0name varchar(60) Yespass varchar(32) Yesmail varchar(64) Yesmode tinyint(1) Yes 0sort tinyint(1) Yes 0threshold tinyint(1) Yes 0theme varchar(255) Yessignature varchar(255) Yescreated int(11) Yes 0access int(11) Yes 0login int(11) Yes 0status tinyint(4) Yes 0timezone varchar(8) Yes NULLlanguage varchar(12) Yespicture varchar(255) Yesinit varchar(64) Yesdata longtext Yes NULL
Page number: 30/35 Nov 21, 2005 at 02:06 PM
Drupal schema
29 users_roles
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
uid int(10) UNSIGNED Yes 0 users -> uidrid int(10) UNSIGNED Yes 0 users_roles -> rid
Page number: 31/35 Nov 21, 2005 at 02:06 PM
Drupal schema
30 vocabulary
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
vid int(10) UNSIGNED Yes NULL auto_incrementname varchar(255) Yesdescription longtext Yes NULLhelp varchar(255) Yesrelations tinyint(3) UNSIGNED Yes 0hierarchy tinyint(3) UNSIGNED Yes 0multiple tinyint(3) UNSIGNED Yes 0required tinyint(3) UNSIGNED Yes 0tags tinyint(3) UNSIGNED Yes 0module varchar(255) Yesweight tinyint(4) Yes 0
Page number: 32/35 Nov 21, 2005 at 02:06 PM
Drupal schema
31 vocabulary_node_types
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
vid int(10) UNSIGNED Yes 0 vocabulary -> vidtype varchar(16) Yes
Page number: 33/35 Nov 21, 2005 at 02:06 PM
Drupal schema
32 watchdog
Creation: Nov 15, 2005 at 02:07 PMLast update: Nov 15, 2005 at 02:07 PM
Field Type Attributes Null Default Extra Links to Comments MIME
wid int(5) Yes NULL auto_incrementuid int(10) Yes 0 users -> uidtype varchar(16) Yesmessage longtext Yesseverity tinyint(3) UNSIGNED Yes 0link varchar(255) Yeslocation varchar(128) Yesreferer varchar(128) Yeshostname varchar(128) Yestimestamp int(11) Yes 0
Page number: 34/35 Nov 21, 2005 at 02:06 PM
Drupal schema -62
16
94
172
250
328
406
484
562
640
719
797
875
953
1031
1109
1187
1265
1343
1421
-78 0 78 156 234 312 391 469 547 625 703 781 859 937 1015 1093 1172 1250 1328 1406 1484 1562 1640 1718 1796 1874 1953 2031 2109 2187
accesslog aid sid title path url hostname uid timer timestamp
aggregator_category cid title description block
aggregator_category_feed fid cid
aggregator_feed fid title url refresh checked link description image etag modified block
aggregator_item iid fid title link author description timestamp
book vid nid parent weight
boxes bid title body info format
comments cid pid nid uid subject comment hostname timestamp score status format thread users name mail homepage
files fid nid vid filename description filepath filemime filesize list
filter_formats format name roles cache
forum nid vid tid
history uid nid timestamp
moderation_roles rid mid value
moderation_votes mid vote weight
node nid vid type title uid status created changed comment promote moderate sticky
node_access nid gid realm grant_view grant_update grant_delete
node_comment_statistics nid last_comment_timestamp last_comment_name last_comment_uid comment_count
node_revisions nid vid uid title body teaser log timestamp format
permission rid perm tid
poll nid runtime polled active
role rid name
search_index word sid type fromsid fromtype score
search_total word count
sessions uid sid hostname timestamp cache session
term_data tid vid name description weight
term_hierarchy tid parent
term_synonym tid name
users uid name pass mail mode sort threshold theme signature created access login status timezone language picture init data
users_roles uid rid
vocabulary vid name description help relations hierarchy multiple required tags module weight
vocabulary_node_types vid type
watchdog wid uid type message severity link location referer hostname timestamp
Page number: 35/35 Nov 21, 2005 at 02:06 PM