Difference between revisions of "Database Table: syndicated"

From Dreamwidth Notes
Jump to: navigation, search
(Robot: Updating: Format)
m (Robot: Updating: Format, definition)
 
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