Difference between revisions of "Database Table: acctcode request"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with '{{Database Table|name=acctcode_request|table type=global}} Category:Database Tables Needing Description = Definition = <source lang="sql"> CREATE TABLE acctcode_request ( …')
 
(Robot: Updating: Format, needs desc, definition)
Line 1: Line 1:
{{Database Table|name=acctcode_request|table type=global}}
+
{{Database Table|name=acctcode_request|table type=global|need desc=1}}
[[Category:Database Tables Needing Description]]
+
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE acctcode_request (
 
CREATE TABLE acctcode_request (

Revision as of 06:58, 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 acctcode_request (
    reqid   INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
    userid  INT UNSIGNED NOT NULL,
    STATUS ENUM('accepted','rejected', 'outstanding') NOT NULL DEFAULT 'outstanding',
    reason VARCHAR(255),
    timegenerate    INT UNSIGNED NOT NULL,
    timeprocessed   INT UNSIGNED,
 
    INDEX (userid)
)

Relationships

Outgoing

  • Foreign key: userid to user.userid