Difference between revisions of "Database Table: syndicated"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: This table needs a description.)
(Robot: Updating: Format, needs desc, definition)
Line 1: Line 1:
{{Database Table|name=syndicated|table type=global}}
+
{{Database Table|name=syndicated|table type=global|need desc=1}}
[[Category:Database Tables Needing Description]]
+
 
= Definition =
 
= Definition =
 +
<source lang="sql">
 +
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),
  
<source lang="sql">
+
    PRIMARY KEY (userid),
CREATE TABLE syndicated
+
    UNIQUE (synurl),
(
+
    INDEX (checknext)
  userid  INT UNSIGNED NOT NULL,
+
  synurl  VARCHAR(255),
+
  checknext  DATETIME NOT NULL,
+
  lastcheck  DATETIME,
+
  lastmod    INT UNSIGNED, # unix time
+
  etag      VARCHAR(80),
+
  PRIMARY KEY (userid),
+
  UNIQUE (synurl),
+
  INDEX (checknext)
+
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Revision as of 07:07, 28 January 2010

"{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property. 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),
 
    PRIMARY KEY (userid),
    UNIQUE (synurl),
    INDEX (checknext)
)

Relationships