Difference between revisions of "Database Table: openid trust"

From Dreamwidth Notes
Jump to: navigation, search
(Robot: Updating: Format, needs desc, definition)
(Robot: Updating: Format)
 
Line 1: Line 1:
{{Database Table|name=openid_trust|table type=global|need desc=1}}
+
{{Database Table|name=openid_trust|table type=global|need desc=1|repo=dw-free}}
 
= Definition =
 
= Definition =
 
<source lang="sql">
 
<source lang="sql">

Latest revision as of 15:55, 22 July 2010

This is a global table.

Definition

CREATE TABLE openid_trust (
    userid INT(10) UNSIGNED NOT NULL DEFAULT '0',
    endpoint_id INT(10) UNSIGNED NOT NULL DEFAULT '0',
    trust_time INT(10) UNSIGNED NOT NULL DEFAULT '0',
    duration enum('always','once') NOT NULL DEFAULT 'always',
    last_assert_time INT(10) UNSIGNED DEFAULT NULL,
    flags tinyint(3) UNSIGNED DEFAULT NULL,
 
    PRIMARY KEY  (userid,endpoint_id),
    KEY endpoint_id (endpoint_id)
)

Relationships