Difference between revisions of "Database Table: sysban"
From Dreamwidth Notes
(Created page with 'sysban =Definition= <source lang="sql"> CREATE TABLE sysban ( banid MEDIUMINT UNSIGNED NOT NULL AUTO_INCREMENT, PRIMARY KEY (banid), sta...') |
Exor674Bot (Talk | contribs) (Robot: Updating: Format) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{Database Table|name=sysban|table type=global|need desc=1|repo=dw-free}} | |
− | =Definition= | + | = Definition = |
<source lang="sql"> | <source lang="sql"> | ||
CREATE TABLE sysban ( | 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) | |
) | ) | ||
</source> | </source> | ||
− | + | {{Database Table Footer}} | |
− | + | ||
− | + | ||
− | + | ||
− | + |
Latest revision as of 16:00, 22 July 2010
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) )