Difference between revisions of "Database Table: acctcode"

From Dreamwidth Notes
Jump to: navigation, search
m
m (Robot: Converting database table to use semantic mediawiki form.)
Line 1: Line 1:
{{#set:name=acctcode|table type=global}}
+
{{Database Table|name=acctcode|table type=global}}
 
= Definition =
 
= Definition =
  

Revision as of 11:24, 27 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
(
  acid    INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
  userid  INT UNSIGNED NOT NULL,
  rcptid  INT UNSIGNED NOT NULL DEFAULT 0,
  auth    CHAR(5) NOT NULL,
  INDEX (userid),
  INDEX (rcptid)
)

Relationships

Outgoing

  • Foreign key: userid to user.userid