Difference between revisions of "Database Table: infohistory"
From Dreamwidth Notes
Exor674Bot (Talk | contribs) m (Robot: Changing Category:Database Tables) |
Exor674Bot (Talk | contribs) (Robot: Updating: Format) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | = | + | {{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', | |
− | + | 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) | ||
) | ) | ||
</source> | </source> | ||
− | + | {{Database Table Footer}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
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