You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2006/09/18 21:49:57 UTC
svn commit: r447523 - /incubator/roller/trunk/metadata/database/control.vm
Author: snoopdave
Date: Mon Sep 18 12:49:56 2006
New Revision: 447523
URL: http://svn.apache.org/viewvc?view=rev&rev=447523
Log:
Use ALTER TABLE tablefoo ADD columnbar syntax for Oracle
Modified:
incubator/roller/trunk/metadata/database/control.vm
Modified: incubator/roller/trunk/metadata/database/control.vm
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/metadata/database/control.vm?view=diff&rev=447523&r1=447522&r2=447523
==============================================================================
--- incubator/roller/trunk/metadata/database/control.vm (original)
+++ incubator/roller/trunk/metadata/database/control.vm Mon Sep 18 12:49:56 2006
@@ -32,7 +32,7 @@
#elseif ($DBTYPE == "DERBY" || $DBTYPE == "DB2")
alter table $table add column $column $type with default $default not null;
#elseif ($DBTYPE == "ORACLE")
-alter table $table add column $column $type default $default not null;
+alter table $table add $column $type default $default not null;
#end
#end