You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by dl...@apache.org on 2001/06/14 03:46:17 UTC

cvs commit: jakarta-turbine/conf/torque/templates/sql/base/db2 drop.vm

dlr         01/06/13 18:46:17

  Modified:    conf/torque/templates/sql/base/db2 drop.vm
  Log:
  Sequences are global, not per column.
  
  Revision  Changes    Path
  1.2       +1 -11     jakarta-turbine/conf/torque/templates/sql/base/db2/drop.vm
  
  Index: drop.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine/conf/torque/templates/sql/base/db2/drop.vm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- drop.vm	2000/11/30 22:08:16	1.1
  +++ drop.vm	2001/06/14 01:46:16	1.2
  @@ -1,12 +1,2 @@
   drop table $table.Name;
  -#*
  -
  -DB2 looks like oracle but I'm not sure
  -about the sequences.
  -
  -#foreach ($col in $table.Columns)
  -#if ($col.isAutoIncrement())
  -drop sequence if exists ${table.Name}_SEQ;
  -#end
  -#end
  -*#
  +drop sequence if exists $table.SequenceName;
  
  
  

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