Difference between revisions of "Database Table: user schools"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with 'user_schools =Definition= <source lang="sql"> CREATE TABLE `user_schools` ( `userid` int(10) unsigned NOT NULL default '0', `schoolid` int(10) un...')
 
Line 1: Line 1:
[[Category: Database Table|user_schools]]
+
= Definition =
=Definition=
+
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE `user_schools` (
 
CREATE TABLE `user_schools` (
Line 11: Line 11:
 
</source>
 
</source>
  
=Relationships=
+
= Relationships =
 +
 
 +
= Location =
  
=Location=
 
 
[[Clustered database]]
 
[[Clustered database]]
 +
 +
[[Category: Database Tables|user_schools]]

Revision as of 10:30, 4 April 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

Location

Clustered database