dlr         01/06/13 18:50:43

  Modified:    conf/torque/templates/sql/base/postgresql drop.vm
  Log:
  * Sequences are global, not per column.
  
  * The value "native" is now used for the table.idMethod attribute.
  
  Revision  Changes    Path
  1.3       +3 -5      
jakarta-turbine/conf/torque/templates/sql/base/postgresql/drop.vm
  
  Index: drop.vm
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine/conf/torque/templates/sql/base/postgresql/drop.vm,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- drop.vm   2001/05/09 20:29:27     1.2
  +++ drop.vm   2001/06/14 01:50:42     1.3
  @@ -1,6 +1,4 @@
  -#foreach ($col in $table.Columns)
  -#if ($col.isAutoIncrement())
  -drop sequence ${table.Name}_${col.Name}_seq;
  -#end
  -#end
   drop table $table.Name;
  +#if ($table.IdMethod == "native")
  +drop sequence $table.SequenceName;
  +#end
  \ No newline at end of file
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to