Database Table: user schools

From Dreamwidth Notes
Revision as of 10:30, 4 April 2009 by Dreamnestia (Talk | contribs)

Jump to: navigation, search

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

Location

Clustered database