UpdateDatabase.php
authorAlan Knowles <alan@roojs.com>
Fri, 6 Dec 2013 07:10:58 +0000 (15:10 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 6 Dec 2013 07:10:58 +0000 (15:10 +0800)
UpdateDatabase.php

index 898ddd1..8de25da 100644 (file)
@@ -696,7 +696,7 @@ class Pman_Core_UpdateDatabase extends Pman
          SELECT
                     'ALTER SEQUENCE '||
                     CASE WHEN strpos(seq_name, '.') > 0 THEN
-                        quote_ident(min(seq_name))
+                        min(seq_name)
                     ELSE 
                         quote_ident(min(schema_name)) ||'.'|| quote_ident(min(seq_name))
                     END