Difference between revisions of "Database Table: user schools"

From Dreamwidth Notes
Jump to: navigation, search
(Robot: Updating: Format, type, needs desc)
(Robot: Updating: Format, needs desc)
Line 1: Line 1:
{{Database Table|name=user_schools|table type=global|removed=1}}
+
{{Database Table|name=user_schools|table type=global|repo=dw-free|removed=1}}
 
= Definition =
 
= Definition =
 
<source lang="sql">
 
<source lang="sql">

Revision as of 16:02, 22 July 2010

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

Definition

CREATE TABLE `user_schools` (
  `userid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  `schoolid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  `year_start` SMALLINT(5) UNSIGNED DEFAULT NULL,
  `year_end` SMALLINT(5) UNSIGNED DEFAULT NULL,
  PRIMARY KEY  (`userid`,`schoolid`)
)