#187881 by mooffie: fix misnamed database table names in schema documentation

6.x
Gábor Hojtsy 2007-11-04 14:33:07 +00:00
parent 75a6f4ded4
commit 91e980a271
10 changed files with 18 additions and 18 deletions

View File

@ -85,7 +85,7 @@ function aggregator_schema() {
'type' => 'int', 'type' => 'int',
'not null' => TRUE, 'not null' => TRUE,
'default' => 0, 'default' => 0,
'description' => t("The feed item's {aggregator_feed_item}.iid."), 'description' => t("The feed item's {aggregator_item}.iid."),
), ),
'cid' => array( 'cid' => array(
'type' => 'int', 'type' => 'int',

View File

@ -118,7 +118,7 @@ function block_schema() {
'type' => 'int', 'type' => 'int',
'unsigned' => TRUE, 'unsigned' => TRUE,
'not null' => TRUE, 'not null' => TRUE,
'description' => t("The user's role ID from {user_roles}.rid."), 'description' => t("The user's role ID from {users_roles}.rid."),
), ),
), ),
'primary key' => array( 'primary key' => array(
@ -135,7 +135,7 @@ function block_schema() {
'type' => 'serial', 'type' => 'serial',
'unsigned' => TRUE, 'unsigned' => TRUE,
'not null' => TRUE, 'not null' => TRUE,
'description' => t("The block's {block}.bid."), 'description' => t("The block's {blocks}.bid."),
), ),
'body' => array( 'body' => array(
'type' => 'text', 'type' => 'text',

View File

@ -73,7 +73,7 @@ function comment_schema() {
'type' => 'int', 'type' => 'int',
'not null' => TRUE, 'not null' => TRUE,
'default' => 0, 'default' => 0,
'description' => t('The {comment}.cid to which this comment is a reply. If set to 0, this comment is not a reply to an existing comment.'), 'description' => t('The {comments}.cid to which this comment is a reply. If set to 0, this comment is not a reply to an existing comment.'),
), ),
'nid' => array( 'nid' => array(
'type' => 'int', 'type' => 'int',
@ -85,7 +85,7 @@ function comment_schema() {
'type' => 'int', 'type' => 'int',
'not null' => TRUE, 'not null' => TRUE,
'default' => 0, 'default' => 0,
'description' => t('The {user}.uid who authored the comment. If set to 0, this comment was created by an anonymous user.'), 'description' => t('The {users}.uid who authored the comment. If set to 0, this comment was created by an anonymous user.'),
), ),
'subject' => array( 'subject' => array(
'type' => 'varchar', 'type' => 'varchar',
@ -138,7 +138,7 @@ function comment_schema() {
'type' => 'varchar', 'type' => 'varchar',
'length' => 60, 'length' => 60,
'not null' => FALSE, 'not null' => FALSE,
'description' => t("The comment author's name. Uses {user}.name if the user is logged in, otherwise uses the value typed into the comment form."), 'description' => t("The comment author's name. Uses {users}.name if the user is logged in, otherwise uses the value typed into the comment form."),
), ),
'mail' => array( 'mail' => array(
'type' => 'varchar', 'type' => 'varchar',
@ -174,19 +174,19 @@ function comment_schema() {
'type' => 'int', 'type' => 'int',
'not null' => TRUE, 'not null' => TRUE,
'default' => 0, 'default' => 0,
'description' => t('The Unix timestamp of the last comment that was posted within this node, from {comment}.timestamp.'), 'description' => t('The Unix timestamp of the last comment that was posted within this node, from {comments}.timestamp.'),
), ),
'last_comment_name' => array( 'last_comment_name' => array(
'type' => 'varchar', 'type' => 'varchar',
'length' => 60, 'length' => 60,
'not null' => FALSE, 'not null' => FALSE,
'description' => t('The name of the latest author to post a comment on this node, from {comment}.author.'), 'description' => t('The name of the latest author to post a comment on this node, from {comments}.name.'),
), ),
'last_comment_uid' => array( 'last_comment_uid' => array(
'type' => 'int', 'type' => 'int',
'not null' => TRUE, 'not null' => TRUE,
'default' => 0, 'default' => 0,
'description' => t('The user ID of the latest author to post a comment on this node, from {comment}.uid.'), 'description' => t('The user ID of the latest author to post a comment on this node, from {comments}.uid.'),
), ),
'comment_count' => array( 'comment_count' => array(
'type' => 'int', 'type' => 'int',

View File

@ -33,7 +33,7 @@ function dblog_schema() {
'type' => 'int', 'type' => 'int',
'not null' => TRUE, 'not null' => TRUE,
'default' => 0, 'default' => 0,
'description' => t('The {user}.uid of the user who triggered the event.'), 'description' => t('The {users}.uid of the user who triggered the event.'),
), ),
'type' => array( 'type' => array(
'type' => 'varchar', 'type' => 'varchar',

View File

@ -17,7 +17,7 @@ function filter_schema() {
'type' => 'int', 'type' => 'int',
'not null' => TRUE, 'not null' => TRUE,
'default' => 0, 'default' => 0,
'description' => t('Foreign Key: The {filter_formats}.fid to which this filter is assigned.'), 'description' => t('Foreign Key: The {filter_formats}.format to which this filter is assigned.'),
), ),
'module' => array( 'module' => array(
'type' => 'varchar', 'type' => 'varchar',

View File

@ -20,7 +20,7 @@ function node_schema() {
'not null' => TRUE, 'not null' => TRUE,
'default' => 0), 'default' => 0),
'type' => array( 'type' => array(
'description' => t('The {node_type} of this node.'), 'description' => t('The {node_type}.type of this node.'),
'type' => 'varchar', 'type' => 'varchar',
'length' => 32, 'length' => 32,
'not null' => TRUE, 'not null' => TRUE,
@ -287,7 +287,7 @@ function node_schema() {
'not null' => TRUE, 'not null' => TRUE,
'default' => ''), 'default' => ''),
'has_body' => array( 'has_body' => array(
'description' => t('Boolean indicating whether this type uses the {node}.body field.'), 'description' => t('Boolean indicating whether this type uses the {node_revisions}.body field.'),
'type' => 'int', 'type' => 'int',
'unsigned' => TRUE, 'unsigned' => TRUE,
'not null' => TRUE, 'not null' => TRUE,

View File

@ -92,7 +92,7 @@ function statistics_schema() {
'unsigned' => TRUE, 'unsigned' => TRUE,
'not null' => FALSE, 'not null' => FALSE,
'default' => 0, 'default' => 0,
'description' => t('User {user}.uid that visited the page.'), 'description' => t('User {users}.uid that visited the page.'),
), ),
'timer' => array( 'timer' => array(
'type' => 'int', 'type' => 'int',

View File

@ -46,7 +46,7 @@ function trigger_schema() {
'length' => 255, 'length' => 255,
'not null' => TRUE, 'not null' => TRUE,
'default' => '', 'default' => '',
'description' => t("Primary Key: Action's {action}.aid."), 'description' => t("Primary Key: Action's {actions}.aid."),
), ),
'weight' => array( 'weight' => array(
'type' => 'int', 'type' => 'int',

View File

@ -29,7 +29,7 @@ function upload_schema() {
'unsigned' => TRUE, 'unsigned' => TRUE,
'not null' => TRUE, 'not null' => TRUE,
'default' => 0, 'default' => 0,
'description' => t('Primary Key: The {file}.fid.'), 'description' => t('Primary Key: The {files}.fid.'),
), ),
'nid' => array( 'nid' => array(
'type' => 'int', 'type' => 'int',

View File

@ -51,7 +51,7 @@ function user_schema() {
'type' => 'int', 'type' => 'int',
'not null' => TRUE, 'not null' => TRUE,
'default' => 0, 'default' => 0,
'description' => t("User's {user}.uid."), 'description' => t("User's {users}.uid."),
), ),
'authname' => array( 'authname' => array(
'type' => 'varchar', 'type' => 'varchar',
@ -266,7 +266,7 @@ function user_schema() {
'unsigned' => TRUE, 'unsigned' => TRUE,
'not null' => TRUE, 'not null' => TRUE,
'default' => 0, 'default' => 0,
'description' => t('Primary Key: {user}.uid for user.'), 'description' => t('Primary Key: {users}.uid for user.'),
), ),
'rid' => array( 'rid' => array(
'type' => 'int', 'type' => 'int',