Difference between revisions of "Database Table: counter"

From Dreamwidth Notes
Jump to: navigation, search
Line 1: Line 1:
Stores user counters. See also [[Database Table: usercounter|usercounter]], which stores related information at the cluster level.
+
{{#set:name=talkleft|clustered=true}}
 
+
[[Description::Stores user counters.]]
 +
See also [[Database Table: usercounter|usercounter]], which stores related information at the cluster level.
 
= Definition =
 
= Definition =
  
Line 12: Line 13:
 
</source>
 
</source>
  
= Relationships =
+
{{Database Table Footer}}
 
+
= Location =
+
 
+
[[Global database]]
+
 
+
[[Category: Database Tables|counter]]
+

Revision as of 01:53, 2 October 2009

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