projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66dce0e
)
UpdateDatabase.php
author
Alan Knowles
<alan@roojs.com>
Fri, 15 Nov 2013 07:39:14 +0000
(15:39 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 15 Nov 2013 07:39:14 +0000
(15:39 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
00391ce
..
e7f3199
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-693,7
+693,7
@@
class Pman_Core_UpdateDatabase extends Pman
$cs = DB_DataObject::factory('core_enum');
$cs->query("
SELECT 'ALTER SEQUENCE '|| quote_ident(min(schema_name)) ||'.'|| quote_ident(min(seq_name))
- ||' OWNED BY '|| quote_ident(min(table_name)) ||'.'|| quote_ident(min(column_name)) ||';' as cmd
+ ||' OWNED BY '|| quote_ident(min(
schema_name)) || '.' || quote_ident(min(
table_name)) ||'.'|| quote_ident(min(column_name)) ||';' as cmd
FROM (
SELECT