Difference between revisions of "Database Table: schools"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: This table needs a description.)
Line 1: Line 1:
{{Database Table|name=schools|table type=global}}
+
{{Database Table|name=schools|table type=global|removed=1}}
 
[[Category:Database Tables Needing Description]]
 
[[Category:Database Tables Needing Description]]
 
= Definition =
 
= Definition =

Revision as of 04:03, 30 January 2010

Note: This table is removed and no longer used.
This is a global table.

Definition

CREATE TABLE `schools` (
  `schoolid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` VARCHAR(200) BINARY NOT NULL DEFAULT '',
  `country` VARCHAR(4) NOT NULL DEFAULT '',
  `state` VARCHAR(100) BINARY DEFAULT NULL,
  `city` VARCHAR(100) BINARY NOT NULL DEFAULT '',
  `url` VARCHAR(255) DEFAULT NULL,
  PRIMARY KEY  (`schoolid`),
  UNIQUE KEY `country` (`country`,`state`,`city`,`name`)
)

Relationships