Database Table: openid_trust

From Dreamwidth Notes
Jump to: navigation, search

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