Difference between revisions of "Database Table: counter"

From Dreamwidth Notes
Jump to: navigation, search
(Robot: Updating: Format, definition)
(Robot: Updating: Format)
Line 1: Line 1:
{{Database Table|name=counter|table type=global}}
+
{{Database Table|name=counter|table type=global|repo=dw-free}}
 
[[Description::Stores user counters.]]
 
[[Description::Stores user counters.]]
 
See also [[Database Table: usercounter|usercounter]], which stores related information at the cluster level.
 
See also [[Database Table: usercounter|usercounter]], which stores related information at the cluster level.

Revision as of 16:01, 22 July 2010

This is a global table. Stores user counters. See also usercounter, which stores related information at the cluster level.

Definition

CREATE TABLE counter (
    journalid  INT UNSIGNED NOT NULL,
    area       CHAR(1) NOT NULL,
    PRIMARY KEY (journalid, area),
    MAX        MEDIUMINT UNSIGNED NOT NULL
)

Relationships