Difference between revisions of "Database Table: schools"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Converting database table to use semantic mediawiki form.)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#set:name=schools|table type=global}}
+
{{Database Table|name=schools|table type=global|repo=dw-free|removed=1|removed in=27534a10aa6a}}
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE `schools` (
 
CREATE TABLE `schools` (
Line 14: Line 13:
 
)
 
)
 
</source>
 
</source>
 
+
{{Database Table Footer|removed=1}}
{{Database Table Footer}}
+

Latest revision as of 16:30, 22 July 2010

Note: This table is removed and no longer used. This table was removed in dw-free changeset 27534a10aa6a [1]
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`)
)