Difference between revisions of "Database Table: infohistory"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Changing Category:Database Tables)
(Robot: Updating: Format)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=Definition=
+
{{Database Table|name=infohistory|table type=global|need desc=1|repo=dw-free}}
 
+
= Definition =
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE infohistory (
 
CREATE TABLE infohistory (
  userid int(10) unsigned NOT NULL default '0',
+
    userid int(10) unsigned NOT NULL default '0',
  what varchar(15) NOT NULL default '',
+
    what varchar(15) NOT NULL default '',
  timechange datetime NOT NULL default '0000-00-00 00:00:00',
+
    timechange datetime NOT NULL default '0000-00-00 00:00:00',
  oldvalue varchar(255) default NULL,
+
    oldvalue varchar(255) default NULL,
  other varchar(30) default NULL,
+
    other varchar(30) default NULL,
  KEY userid (userid)
+
 
 +
    KEY userid (userid)
 
)
 
)
 
</source>
 
</source>
 
+
{{Database Table Footer}}
= Relationships =
+
 
+
Foreign key userid to [[Database Table: user|user]].userid
+
 
+
= Location =
+
 
+
[[Global database]]
+
 
+
[[Category:Database Tables Needing Conversion|infohistory]]
+

Latest revision as of 16:00, 22 July 2010

This is a global table.

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

Outgoing

  • Foreign key: userid to user.userid