Difference between revisions of "Database Table: sysban"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: This table needs a description.)
(Robot: Updating: Format, needs desc, definition)
Line 1: Line 1:
{{Database Table|name=sysban|table type=global}}
+
{{Database Table|name=sysban|table type=global|need desc=1}}
[[Category:Database Tables Needing Description]]
+
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE sysban (
 
CREATE TABLE sysban (
  banid    MEDIUMINT UNSIGNED NOT NULL AUTO_INCREMENT,
+
    banid    MEDIUMINT UNSIGNED NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (banid),
+
    PRIMARY KEY (banid),
  status    ENUM('active','expired') NOT NULL DEFAULT 'active',
+
    status    ENUM('active','expired') NOT NULL DEFAULT 'active',
  INDEX    (status),
+
    INDEX    (status),
  bandate  DATETIME,
+
    bandate  DATETIME,
  banuntil  DATETIME,
+
    banuntil  DATETIME,
  what      VARCHAR(20) NOT NULL,
+
    what      VARCHAR(20) NOT NULL,
  value    VARCHAR(80),
+
    value    VARCHAR(80),
  note      VARCHAR(255)
+
    note      VARCHAR(255)
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Revision as of 07:06, 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 sysban (
    banid     MEDIUMINT UNSIGNED NOT NULL AUTO_INCREMENT,
    PRIMARY KEY (banid),
    STATUS    ENUM('active','expired') NOT NULL DEFAULT 'active',
    INDEX     (STATUS),
    bandate   DATETIME,
    banuntil  DATETIME,
    what      VARCHAR(20) NOT NULL,
    VALUE     VARCHAR(80),
    note      VARCHAR(255)
)

Relationships