// ?? use dbscripts/misc/postbooks_empty.backup ???
$this->{$dirmethod}($dburl, $this->rootDir. "/Pman/Xtuple/xtuple-database/empty_data.sql");
//$this->{$dirmethod}($dburl, $this->rootDir. "/Pman/$m/{$dbtype}.init");
- foreach(array(
- 'indexes',
- 'triggers',
- 'types',
- 'views',
-
- ) as $dir) {
- $this->{$dirmethod}($dburl, $this->rootDir. "/Pman/Xtuple/xtuple-database/dbscripts/" . $dir);
- }
+
}
foreach(array(
- 'tables', // techncally an init - but since there are not that many of them...
- 'functions',
+ 'public/functions', // techncally an init - but since there are not that many of them...
+ 'public/trigger_functions',
+ 'public/indexes',
'api/functions',
'api/views',
+ 'public/patches',
) as $dir) {
$this->{$dirmethod}($dburl, $this->rootDir. "/Pman/Xtuple/xtuple-database/dbscripts/" . $dir);