Difference between revisions of "Database Table: counter"

From Dreamwidth Notes
Jump to: navigation, search
(Robot: Updating: Format)
m (Robot: Updating: Format, definition)
 
Line 8: Line 8:
 
     area      CHAR(1) NOT NULL,
 
     area      CHAR(1) NOT NULL,
 
     PRIMARY KEY (journalid, area),
 
     PRIMARY KEY (journalid, area),
     max        MEDIUMINT UNSIGNED NOT NULL
+
     max        INT UNSIGNED NOT NULL
 
)
 
)
 
</source>
 
</source>
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Latest revision as of 04:04, 8 June 2013

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        INT UNSIGNED NOT NULL
)

Relationships