Difference between revisions of "Database Table: user schools"

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=user_schools|clustered=true}}
+
{{#set:name=user_schools|table type=clustered}}
 
= Definition =
 
= Definition =
  

Revision as of 18:47, 2 October 2009

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`)
)

Relationships