Difference between revisions of "Database Table: usertrans"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: This table needs a description.)
(Robot: Updating: Format, needs desc, definition)
Line 1: Line 1:
{{Database Table|name=usertrans|table type=global}}
+
{{Database Table|name=usertrans|table type=global|need desc=1}}
[[Category:Database Tables Needing Description]]
+
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE `usertrans` (
 
CREATE TABLE `usertrans` (
  `userid` int(10) unsigned NOT NULL default '0',
+
    `userid` int(10) unsigned NOT NULL default '0',
  `time` int(10) unsigned NOT NULL default '0',
+
    `time` int(10) unsigned NOT NULL default '0',
  `what` varchar(25) NOT NULL default '',
+
    `what` varchar(25) NOT NULL default '',
  `before` varchar(25) NOT NULL default '',
+
    `before` varchar(25) NOT NULL default '',
  `after` varchar(25) NOT NULL default '',
+
    `after` varchar(25) NOT NULL default '',
  KEY `userid` (`userid`),
+
 
  KEY `time` (`time`)
+
    KEY `userid` (`userid`),
 +
    KEY `time` (`time`)
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Revision as of 07:06, 28 January 2010

"{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property. This is a global table.

Definition

CREATE TABLE `usertrans` (
    `userid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
    `time` INT(10) UNSIGNED NOT NULL DEFAULT '0',
    `what` VARCHAR(25) NOT NULL DEFAULT '',
    `before` VARCHAR(25) NOT NULL DEFAULT '',
    `after` VARCHAR(25) NOT NULL DEFAULT '',
 
    KEY `userid` (`userid`),
    KEY `time` (`time`)
)

Relationships