Difference between revisions of "Database Table: usercounter"

From Dreamwidth Notes
Jump to: navigation, search
(Robot: Updating: Format)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{Database Table|name=usercounter|table type=global|need desc=1|repo=dw-free}}
 
See also [[Database Table: counter|counter]]
 
See also [[Database Table: counter|counter]]
 
+
= Definition =
[[Category: Database Table|usercounter]]
+
=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}}
=Relationships=
+
 
+
=Location=
+
[[Global database]]
+

Latest revision as of 16:02, 22 July 2010

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