Difference between revisions of "Database Table: usercounter"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: This table needs a description.)
(Robot: Updating: Format, needs desc, definition)
Line 1: Line 1:
{{Database Table|name=usercounter|table type=global}}
+
{{Database Table|name=usercounter|table type=global|need desc=1}}
 
See also [[Database Table: counter|counter]]
 
See also [[Database Table: counter|counter]]
[[Category:Database Tables Needing Description]]
 
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE usercounter (
 
CREATE TABLE usercounter (
  journalid  INT UNSIGNED NOT NULL,
+
    journalid  INT UNSIGNED NOT NULL,
  area      CHAR(1) NOT NULL,
+
    area      CHAR(1) NOT NULL,
  PRIMARY KEY (journalid, area),
+
    PRIMARY KEY (journalid, area),
  max        INT UNSIGNED NOT NULL
+
    max        INT UNSIGNED NOT NULL
 
)
 
)
 
</source>
 
</source>
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Revision as of 07:09, 28 January 2010

"{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property. This is a global table. See also counter

Definition

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

Relationships