|
From: <ki...@us...> - 2003-02-27 20:45:44
|
Update of /cvsroot/pymerase/pymerase/examples/dvd/schema
In directory sc8-pr-cvs1:/tmp/cvs-serv11997
Modified Files:
Dvd.xml Studio.xml
Log Message:
updated to be more similar to UML Dvd example
Index: Dvd.xml
===================================================================
RCS file: /cvsroot/pymerase/pymerase/examples/dvd/schema/Dvd.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Dvd.xml 20 Dec 2002 04:01:24 -0000 1.4
--- Dvd.xml 27 Feb 2003 20:45:31 -0000 1.5
***************
*** 3,6 ****
--- 3,12 ----
<table name="Dvd"
comment="">
+ <column name="dvd_pk"
+ full_name="Dvd PK"
+ type="serial"
+ not_null="1"
+ comment="Primary Key"/>
+ <primary_key column_id="dvd_pk"/>
<column name="title"
full_name="Movie Title"
***************
*** 20,24 ****
foreign_table_pkey ="studio_pk"
fkey_type ="&fkey_mto;"
! local_association_name ="released_movies"
! foreign_association_name ="movie_studio"/>
</table>
--- 26,30 ----
foreign_table_pkey ="studio_pk"
fkey_type ="&fkey_mto;"
! local_association_name ="dvds"
! foreign_association_name ="studio"/>
</table>
Index: Studio.xml
===================================================================
RCS file: /cvsroot/pymerase/pymerase/examples/dvd/schema/Studio.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Studio.xml 7 Nov 2002 02:58:32 -0000 1.2
--- Studio.xml 27 Feb 2003 20:45:32 -0000 1.3
***************
*** 3,6 ****
--- 3,12 ----
<table name="Studio"
comment="">
+ <column name="studio_pk"
+ full_name="Studio PK"
+ type="serial"
+ not_null="1"
+ comment="Primary Key"/>
+ <primary_key column_id="studio_pk"/>
<column name="name"
full_name="Movie Studio Name"
|