Difference between revisions of "Database Table: sysban"

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

Revision as of 18:46, 2 October 2009

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