Difference between revisions of "Database Table: counter"
From Dreamwidth Notes
Exor674Bot (Talk | contribs) m (Robot: Updating page description status.) |
Exor674Bot (Talk | contribs) m (Robot: Updating: Format, definition) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{Database Table|name=counter|table type=global}} | + | {{Database Table|name=counter|table type=global|repo=dw-free}} |
[[Description::Stores user counters.]] | [[Description::Stores user counters.]] | ||
See also [[Database Table: usercounter|usercounter]], which stores related information at the cluster level. | See also [[Database Table: usercounter|usercounter]], which stores related information at the cluster level. | ||
− | |||
= Definition = | = Definition = | ||
− | |||
<source lang="sql"> | <source lang="sql"> | ||
CREATE TABLE counter ( | CREATE TABLE counter ( | ||
− | + | journalid INT UNSIGNED NOT NULL, | |
− | + | area CHAR(1) NOT NULL, | |
− | + | PRIMARY KEY (journalid, area), | |
− | + | 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 )