UpdateDatabase.php
authorAlan Knowles <alan@roojs.com>
Tue, 7 Oct 2014 06:22:11 +0000 (14:22 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 7 Oct 2014 06:22:11 +0000 (14:22 +0800)
UpdateDatabase.php

index eac0a2b..2fbeec0 100644 (file)
@@ -138,16 +138,15 @@ class Pman_Xtuple_UpdateDatabase extends Pman_Core_UpdateDatabase
                 
             }
             
-            
-            
-            $fd = $this->rootDir. "/Pman/$m/DataObjects";
-            
-            $this->{$dirmethod}($dburl, $fd);
+            // first try the standard from xtuple-database
+            $this->{$dirmethod}($dburl, $this->rootDir. "/Pman/Xtuple/xtuple-database/dbscripts/functions");
             
             // new -- sql directory..
             // new style will not support migrate ... they have to go into mysql-migrate.... directories..
             // new style will not support pg.sql etc.. naming - that's what the direcotries are for..
             
+            
+            
             $this->{$dirmethod}($dburl, $this->rootDir. "/Pman/$m/sql");
             $this->{$dirmethod}($dburl, $this->rootDir. "/Pman/$m/{$dbtype}");