db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject cvs commit: db-torque/src/generator/src/templates/sql/base/postgresql drop.vm
Date Wed, 24 Mar 2004 02:29:46 GMT
seade       2004/03/23 18:29:46

  Modified:    src/generator/src/templates/sql/base/hypersonic drop.vm
                        table.vm
               src/generator/src/templates/sql/base/mssql drop.vm
               src/generator/src/templates/sql/base/postgresql drop.vm
  Log:
  A few small generator template fixes thanks to Serge Huber.
  
  Revision  Changes    Path
  1.2       +1 -1      db-torque/src/generator/src/templates/sql/base/hypersonic/drop.vm
  
  Index: drop.vm
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/templates/sql/base/hypersonic/drop.vm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- drop.vm	10 Feb 2003 13:18:48 -0000	1.1
  +++ drop.vm	24 Mar 2004 02:29:46 -0000	1.2
  @@ -1 +1 @@
  -drop table if exists $table.Name;
  +drop table $table.Name if exists;
  
  
  
  1.3       +1 -1      db-torque/src/generator/src/templates/sql/base/hypersonic/table.vm
  
  Index: table.vm
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/templates/sql/base/hypersonic/table.vm,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- table.vm	29 Jun 2003 14:30:02 -0000	1.2
  +++ table.vm	24 Mar 2004 02:29:46 -0000	1.3
  @@ -2,7 +2,7 @@
   -----------------------------------------------------------------------------
   -- $table.Name
   -----------------------------------------------------------------------------
  -##$generator.parse("$basepath/drop.vm", "", "table", $tbl)
  +#$generator.parse("$basepath/drop.vm", "", "table", $tbl)
   CREATE TABLE $table.Name
   (
   #set ( $cols = $generator.parse("$basepath/columns.vm", "", "table", $tbl) )
  
  
  
  1.2       +1 -1      db-torque/src/generator/src/templates/sql/base/mssql/drop.vm
  
  Index: drop.vm
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/templates/sql/base/mssql/drop.vm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- drop.vm	10 Feb 2003 13:18:49 -0000	1.1
  +++ drop.vm	24 Mar 2004 02:29:46 -0000	1.2
  @@ -26,4 +26,4 @@
        DEALLOCATE refcursor
        DROP TABLE $table.Name
   END
  -
  +;
  
  
  
  1.2       +1 -1      db-torque/src/generator/src/templates/sql/base/postgresql/drop.vm
  
  Index: drop.vm
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/templates/sql/base/postgresql/drop.vm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- drop.vm	10 Feb 2003 13:18:47 -0000	1.1
  +++ drop.vm	24 Mar 2004 02:29:46 -0000	1.2
  @@ -1,4 +1,4 @@
  -DROP TABLE $table.Name;
  +DROP TABLE $table.Name CASCADE;
   #if ($table.IdMethod == "native")
   DROP SEQUENCE $table.SequenceName;
   #end
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message