Difference between revisions of "Database Table: openid trust"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with 'openid_trust =Definition= <source lang="sql"> CREATE TABLE openid_trust ( userid int(10) unsigned NOT NULL default '0', endpoint_id int(10) unsig...')
 
(Robot: Updating: Format)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category: Database Table|openid_trust]]
+
{{Database Table|name=openid_trust|table type=global|need desc=1|repo=dw-free}}
=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}}
=Relationships=
+
 
+
=Location=
+
[[Global database]]
+

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