User Tools

Site Tools


podoc:film_sql_table

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
podoc:film_sql_table [2007/04/19 08:36] Luudpodoc:film_sql_table [2007/04/20 14:25] (current) Luud
Line 11: Line 11:
 === Schema === === Schema ===
  
-  create table film ( +<code sql> 
-    identifier            integer not null primary key, +create table film ( 
-    type                  integer not null references film_type(identifier), +  identifier            integer not null primary key, 
-    users                 integer not null references users(identifier), +  type                  integer not null references film_type(identifier), 
-    access_rights         integer not null references access_type(identifier) +  users                 integer not null references users(identifier), 
-  );+  access_rights         integer not null references access_type(identifier) 
 +); 
 +</code> 
 + 
 +=== References tables === 
 + 
 +  * access_rights references [[access_type sql table|access_type]](identifier) 
 +  * type references [[film_type sql table|film_type]](identifier) 
 +  * users references [[users sql table|users]](identifier) 
 + 
 +=== Is referenced by tables === 
 + 
 +  * [[photo_tech sql table|photo_tech]](film) references identifier
  
 === Related sequences === === Related sequences ===
Line 50: Line 62:
 = Version 2.5 = = Version 2.5 =
  
-  create table film ( +<code sql> 
-    identifier            integer not null primary key, +create table film ( 
-    type                  integer not null references film_type(identifier), +  identifier            integer not null primary key, 
-    users                 integer not null references users(identifier), +  type                  integer not null references film_type(identifier), 
-    access_rights         integer not null references access_type(identifier) +  users                 integer not null references users(identifier), 
-  );+  access_rights         integer not null references access_type(identifier) 
 +); 
 +</code>
  
podoc/film_sql_table.txt · Last modified: 2007/04/20 14:25 by Luud