Difference between revisions of "Database Table: syndicated"

From Dreamwidth Notes
Jump to: navigation, search
(Robot: Updating: Format, needs desc, definition)
m (Robot: Updating: Format, definition)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Database Table|name=syndicated|table type=global|need desc=1}}
+
{{Database Table|name=syndicated|table type=global|need desc=1|repo=dw-free}}
 
= Definition =
 
= Definition =
 
<source lang="sql">
 
<source lang="sql">
Line 9: Line 9:
 
     lastmod    INT UNSIGNED, # unix time
 
     lastmod    INT UNSIGNED, # unix time
 
     etag      VARCHAR(80),
 
     etag      VARCHAR(80),
 +
    fuzzy_token  VARCHAR(255),
  
 
     PRIMARY KEY (userid),
 
     PRIMARY KEY (userid),
 
     UNIQUE (synurl),
 
     UNIQUE (synurl),
     INDEX (checknext)
+
     INDEX (checknext),
 +
    INDEX (fuzzy_token)
 
)
 
)
 
</source>
 
</source>
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Latest revision as of 23:07, 28 November 2012

This is a global table.

Definition

CREATE TABLE syndicated (
    userid  INT UNSIGNED NOT NULL,
    synurl  VARCHAR(255),
    checknext  DATETIME NOT NULL,
    lastcheck  DATETIME,
    lastmod    INT UNSIGNED, # unix TIME
    etag       VARCHAR(80),
    fuzzy_token  VARCHAR(255),
 
    PRIMARY KEY (userid),
    UNIQUE (synurl),
    INDEX (checknext),
    INDEX (fuzzy_token)
)

Relationships