Difference between revisions of "Database Table: identitymap"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with 'identitymap =Definition= <source lang="sql"> CREATE TABLE identitymap ( idtype CHAR(1) NOT NULL, identity VARCHAR(255) BINARY NOT NULL, use...')
 
(Relationships)
Line 12: Line 12:
  
 
=Relationships=
 
=Relationships=
 +
Foreign key userid to [[Database Table: user|user]].userid
  
 
=Location=
 
=Location=
 
[[Global database]]
 
[[Global database]]

Revision as of 23:54, 21 March 2009

Definition

CREATE TABLE identitymap (
  idtype    CHAR(1) NOT NULL,
  IDENTITY  VARCHAR(255) BINARY NOT NULL,
  userid    INT UNSIGNED NOT NULL,
  PRIMARY KEY  (idtype, IDENTITY),
  KEY          userid (userid)
)

Relationships

Foreign key userid to user.userid

Location

Global database