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.
 
Stores user counters. See also [[Database Table: usercounter|usercounter]], which stores related information at the cluster level.
  
[[Category: Database Table|counter]]
+
= Definition =
=Definition=
+
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE counter (
 
CREATE TABLE counter (
Line 12: Line 12:
 
</source>
 
</source>
  
=Relationships=
+
= Relationships =
 +
 
 +
= Location =
  
=Location=
 
 
[[Global database]]
 
[[Global database]]
 +
 +
[[Category: Database Tables|counter]]

Revision as of 10:58, 31 March 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

Location

Global database