Difference between revisions of "Database Table: usertrans"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with 'usertrans =Definition= <source lang="sql"> CREATE TABLE `usertrans` ( `userid` int(10) unsigned NOT NULL default '0', `time` int(10) unsigned NOT...')
 
(Robot: Updating: Format)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category: Database Table|usertrans]]
+
{{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}}
=Relationships=
+
 
+
=Location=
+
[[Global database]]
+

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