Difference between revisions of "Database Table: usertrans"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Converting database table to use semantic mediawiki form.)
(Robot: Updating: Format)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#set:name=usertrans|clustered=false}}
+
{{Database Table|name=usertrans|table type=global|need desc=1|repo=dw-free}}
 
= 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}}

Latest revision as of 16:00, 22 July 2010

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