Difference between revisions of "Database Table: invitesent"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Converting database table to use database table header template.)
(Robot: Updating: Format)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Database Table|name=invitesent|table type=clustered}}
+
{{Database Table|name=invitesent|table type=clustered|need desc=1|repo=dw-free}}
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE invitesent (
 
CREATE TABLE invitesent (
Line 10: Line 9:
 
     status      ENUM('accepted', 'rejected', 'outstanding') NOT NULL,
 
     status      ENUM('accepted', 'rejected', 'outstanding') NOT NULL,
 
     args        VARCHAR(255),
 
     args        VARCHAR(255),
 +
 
     PRIMARY KEY (commid, userid)
 
     PRIMARY KEY (commid, userid)
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Latest revision as of 15:59, 22 July 2010

This is a clustered table.

Definition

CREATE TABLE invitesent (
    commid      INT(10) UNSIGNED NOT NULL,
    userid      INT(10) UNSIGNED NOT NULL,
    maintid     INT(10) UNSIGNED NOT NULL,
    recvtime    INT(10) UNSIGNED NOT NULL,
    STATUS      ENUM('accepted', 'rejected', 'outstanding') NOT NULL,
    args        VARCHAR(255),
 
    PRIMARY KEY (commid, userid)
)

Relationships