Difference between revisions of "Database Table: syndicated"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with 'syndicated =Definition= <source lang="sql"> CREATE TABLE syndicated ( userid INT UNSIGNED NOT NULL, synurl VARCHAR(255), checknext DATETI...')
 
m (Robot: Updating: Format, definition)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category: Database Table|syndicated]]
+
{{Database Table|name=syndicated|table type=global|need desc=1|repo=dw-free}}
=Definition=
+
= Definition =
 
<source lang="sql">
 
<source lang="sql">
CREATE TABLE syndicated
+
CREATE TABLE syndicated (
(
+
    userid  INT UNSIGNED NOT NULL,
  userid  INT UNSIGNED NOT NULL,
+
    synurl  VARCHAR(255),
  synurl  VARCHAR(255),
+
    checknext  DATETIME NOT NULL,
  checknext  DATETIME NOT NULL,
+
    lastcheck  DATETIME,
  lastcheck  DATETIME,
+
    lastmod    INT UNSIGNED, # unix time
  lastmod    INT UNSIGNED, # unix time
+
    etag      VARCHAR(80),
  etag      VARCHAR(80),
+
    fuzzy_token  VARCHAR(255),
  PRIMARY KEY (userid),
+
 
  UNIQUE (synurl),
+
    PRIMARY KEY (userid),
  INDEX (checknext)
+
    UNIQUE (synurl),
 +
    INDEX (checknext),
 +
    INDEX (fuzzy_token)
 
)
 
)
 
</source>
 
</source>
 
+
{{Database Table Footer}}
=Relationships=
+
 
+
=Location=
+
[[Global database]]
+

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