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 2007/07/01 05:25:38 UTC

svn commit: r552237 - /roller/branches/roller_3.1/metadata/database/control.vm

Author: snoopdave
Date: Sat Jun 30 20:25:37 2007
New Revision: 552237

URL: http://svn.apache.org/viewvc?view=rev&rev=552237
Log:
Fixes ROL-1363, use correct syntax for Oracle for drop not null reqirement of id field

Modified:
    roller/branches/roller_3.1/metadata/database/control.vm

Modified: roller/branches/roller_3.1/metadata/database/control.vm
URL: http://svn.apache.org/viewvc/roller/branches/roller_3.1/metadata/database/control.vm?view=diff&rev=552237&r1=552236&r2=552237
==============================================================================
--- roller/branches/roller_3.1/metadata/database/control.vm (original)
+++ roller/branches/roller_3.1/metadata/database/control.vm Sat Jun 30 20:25:37 2007
@@ -57,7 +57,7 @@
     alter table $table drop primary key;
     alter table $table alter column id null;
 #elseif ($DBTYPE == "ORACLE")
-    alter table $table drop id not null;
+    alter table $table drop primary key; 
 #end
 #end