Difference between revisions of "Database Table: infohistory"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with 'infohistory =Definition= <source lang="sql"> CREATE TABLE infohistory ( userid int(10) unsigned NOT NULL default '0', what varchar(15) NOT NULL d...')
 
Line 1: Line 1:
[[Category: Database Table|infohistory]]
 
 
=Definition=
 
=Definition=
 +
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE infohistory (
 
CREATE TABLE infohistory (
Line 12: Line 12:
 
</source>
 
</source>
  
=Relationships=
+
= Relationships =
 +
 
 
Foreign key userid to [[Database Table: user|user]].userid
 
Foreign key userid to [[Database Table: user|user]].userid
  
=Location=
+
= Location =
 +
 
 
[[Global database]]
 
[[Global database]]
 +
 +
[[Category: Database Tables|infohistory]]

Revision as of 16:21, 31 March 2009

Definition

CREATE TABLE infohistory (
  userid INT(10) UNSIGNED NOT NULL DEFAULT '0',
  what VARCHAR(15) NOT NULL DEFAULT '',
  timechange datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  oldvalue VARCHAR(255) DEFAULT NULL,
  other VARCHAR(30) DEFAULT NULL,
  KEY userid (userid)
)

Relationships

Foreign key userid to user.userid

Location

Global database