db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpoes...@apache.org
Subject cvs commit: db-torque/xdocs changes.xml
Date Sat, 28 Jun 2003 20:27:13 GMT
mpoeschl    2003/06/28 13:27:13

  Modified:    src/generator/src/templates/sql/base/mysql foreignkey.vm
               xdocs    changes.xml
  Log:
  TRQS20: "on delete cascade" not generated
  
  Revision  Changes    Path
  1.2       +8 -1      db-torque/src/generator/src/templates/sql/base/mysql/foreignkey.vm
  
  Index: foreignkey.vm
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/templates/sql/base/mysql/foreignkey.vm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- foreignkey.vm	10 Feb 2003 13:18:49 -0000	1.1
  +++ foreignkey.vm	28 Jun 2003 20:27:13 -0000	1.2
  @@ -1,3 +1,10 @@
   #foreach ($fk in $table.ForeignKeys)
  -    FOREIGN KEY ($fk.LocalColumnNames) REFERENCES $fk.ForeignTableName ($fk.ForeignColumnNames),
  +    FOREIGN KEY ($fk.LocalColumnNames) REFERENCES $fk.ForeignTableName ($fk.ForeignColumnNames)
  +  #if ($fk.hasOnUpdate())
  +    ON UPDATE $fk.OnUpdate
  +  #end
  +  #if ($fk.hasOnDelete())
  +    ON DELETE $fk.OnDelete 
  +  #end
  +,
   #end
  
  
  
  1.89      +3 -0      db-torque/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/db-torque/xdocs/changes.xml,v
  retrieving revision 1.88
  retrieving revision 1.89
  diff -u -r1.88 -r1.89
  --- changes.xml	28 Jun 2003 19:49:17 -0000	1.88
  +++ changes.xml	28 Jun 2003 20:27:13 -0000	1.89
  @@ -52,6 +52,9 @@
   <p>
     <ul>
       <li>
  +      TRQS20: mysql: "on delete cascade" not generated 
  +    </li>  
  +    <li>
         TRQS121: native limit and offset breaks on postgresql 7.3
       </li>
       <li>
  
  
  

Mime
View raw message