Difference between revisions of "Database Table: actionhistory"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Changing ...)
m (Robot: Updating: Format)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#set:name=actionhistory|clustered=false}}
+
{{Database Table|name=actionhistory|table type=global|need desc=1|repo=dw-free}}
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE actionhistory (
 
CREATE TABLE actionhistory (
Line 8: Line 7:
 
     what      CHAR(2) NOT NULL,
 
     what      CHAR(2) NOT NULL,
 
     count    INT UNSIGNED NOT NULL DEFAULT 0,
 
     count    INT UNSIGNED NOT NULL DEFAULT 0,
 +
 
     INDEX(time)
 
     INDEX(time)
 
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Latest revision as of 11:40, 7 September 2010

This is a global table.

Definition

CREATE TABLE actionhistory (
    TIME      INT UNSIGNED NOT NULL,
    clusterid TINYINT UNSIGNED NOT NULL,
    what      CHAR(2) NOT NULL,
    COUNT     INT UNSIGNED NOT NULL DEFAULT 0,
 
    INDEX(TIME)
)

Relationships

Outgoing