projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc382ad
)
UpdateDatabase.php
author
Alan Knowles
<alan@roojs.com>
Fri, 6 Dec 2013 07:10:58 +0000
(15:10 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 6 Dec 2013 07:10:58 +0000
(15:10 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
898ddd1
..
8de25da
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-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