Commit 91e980a2 authored by Gábor Hojtsy's avatar Gábor Hojtsy

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

parent 75a6f4de
......@@ -85,7 +85,7 @@ function aggregator_schema() {
'type' => 'int',
'not null' => TRUE,
'default' => 0,
'description' => t("The feed item's {aggregator_feed_item}.iid."),
'description' => t("The feed item's {aggregator_item}.iid."),
),
'cid' => array(
'type' => 'int',
......
......@@ -118,7 +118,7 @@ function block_schema() {
'type' => 'int',
'unsigned' => 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(
......@@ -135,7 +135,7 @@ function block_schema() {
'type' => 'serial',
'unsigned' => TRUE,
'not null' => TRUE,
'description' => t("The block's {block}.bid."),
'description' => t("The block's {blocks}.bid."),
),
'body' => array(
'type' => 'text',
......
......@@ -73,7 +73,7 @@ function comment_schema() {
'type' => 'int',
'not null' => TRUE,
'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(
'type' => 'int',
......@@ -85,7 +85,7 @@ function comment_schema() {
'type' => 'int',
'not null' => TRUE,
'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(
'type' => 'varchar',
......@@ -138,7 +138,7 @@ function comment_schema() {
'type' => 'varchar',
'length' => 60,
'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(
'type' => 'varchar',
......@@ -174,19 +174,19 @@ function comment_schema() {
'type' => 'int',
'not null' => TRUE,
'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(
'type' => 'varchar',
'length' => 60,
'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(
'type' => 'int',
'not null' => TRUE,
'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(
'type' => 'int',
......
......@@ -33,7 +33,7 @@ function dblog_schema() {
'type' => 'int',
'not null' => TRUE,
'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' => 'varchar',
......
......@@ -17,7 +17,7 @@ function filter_schema() {
'type' => 'int',
'not null' => TRUE,
'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(
'type' => 'varchar',
......
......@@ -20,7 +20,7 @@ function node_schema() {
'not null' => TRUE,
'default' => 0),
'type' => array(
'description' => t('The {node_type} of this node.'),
'description' => t('The {node_type}.type of this node.'),
'type' => 'varchar',
'length' => 32,
'not null' => TRUE,
......@@ -287,7 +287,7 @@ function node_schema() {
'not null' => TRUE,
'default' => ''),
'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',
'unsigned' => TRUE,
'not null' => TRUE,
......
......@@ -92,7 +92,7 @@ function statistics_schema() {
'unsigned' => TRUE,
'not null' => FALSE,
'default' => 0,
'description' => t('User {user}.uid that visited the page.'),
'description' => t('User {users}.uid that visited the page.'),
),
'timer' => array(
'type' => 'int',
......
......@@ -46,7 +46,7 @@ function trigger_schema() {
'length' => 255,
'not null' => TRUE,
'default' => '',
'description' => t("Primary Key: Action's {action}.aid."),
'description' => t("Primary Key: Action's {actions}.aid."),
),
'weight' => array(
'type' => 'int',
......
......@@ -29,7 +29,7 @@ function upload_schema() {
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
'description' => t('Primary Key: The {file}.fid.'),
'description' => t('Primary Key: The {files}.fid.'),
),
'nid' => array(
'type' => 'int',
......
......@@ -51,7 +51,7 @@ function user_schema() {
'type' => 'int',
'not null' => TRUE,
'default' => 0,
'description' => t("User's {user}.uid."),
'description' => t("User's {users}.uid."),
),
'authname' => array(
'type' => 'varchar',
......@@ -266,7 +266,7 @@ function user_schema() {
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
'description' => t('Primary Key: {user}.uid for user.'),
'description' => t('Primary Key: {users}.uid for user.'),
),
'rid' => array(
'type' => 'int',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment