Difference between revisions of "Database Table: openid trust"
From Dreamwidth Notes
Exor674Bot (Talk | contribs) m (Robot: Converting database table to use database table header template.) |
Exor674Bot (Talk | contribs) (Robot: Updating: Format) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{Database Table|name=openid_trust|table type=global}} | + | {{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', | |
− | + | 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) | ||
) | ) | ||
</source> | </source> | ||
− | |||
{{Database Table Footer}} | {{Database Table Footer}} |
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) )