Difference between revisions of "Database Table: openid trust"

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=openid_trust|table type=global}}
+
{{Database Table|name=openid_trust|table type=global|need desc=1}}
[[Category:Database Tables Needing Description]]
+
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE openid_trust (
 
CREATE TABLE openid_trust (
  userid int(10) unsigned NOT NULL default '0',
+
    userid int(10) unsigned NOT NULL default '0',
  endpoint_id 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',
+
    trust_time int(10) unsigned NOT NULL default '0',
  duration enum('always','once') NOT NULL default 'always',
+
    duration enum('always','once') NOT NULL default 'always',
  last_assert_time int(10) unsigned default NULL,
+
    last_assert_time int(10) unsigned default NULL,
  flags tinyint(3) unsigned default NULL,
+
    flags tinyint(3) unsigned default NULL,
  PRIMARY KEY  (userid,endpoint_id),
+
 
  KEY endpoint_id (endpoint_id)
+
    PRIMARY KEY  (userid,endpoint_id),
 +
    KEY endpoint_id (endpoint_id)
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Revision as of 07:02, 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 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