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)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Database Table|name=acctcode_request|table type=global}}
+
{{Database Table|name=acctcode_request|table type=global|need desc=1|repo=dw-free}}
[[Category:Database Tables Needing Description]]
+
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE acctcode_request (
 
CREATE TABLE acctcode_request (

Latest revision as of 15:56, 22 July 2010

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