Loading src/Bdd.php +13 −3 Original line number Diff line number Diff line Loading @@ -935,9 +935,7 @@ class Bdd $tDdl = $source->table()->get(null, $excludes); $this->drop(); $this->create([Ddl::SCHEMA => $schDdl]); $this->create([Ddl::SEQUENCE => $sDdl]); $this->create([Ddl::TABLE => $tDdl]); $this->create([Ddl::SCHEMA => $schDdl,Ddl::SEQUENCE => $sDdl,Ddl::TABLE => $tDdl]); $this->inCopy = true; $this->logBegin("Copie des données"); Loading @@ -956,6 +954,18 @@ class Bdd $this->inCopy = false; if (array_key_exists(Ddl::SCHEMA, $filters)) { $filters[Ddl::SCHEMA]['excludes'][] = '%'; } else { $filters[Ddl::SCHEMA] = ['excludes' => '%']; } if (array_key_exists(Ddl::SEQUENCE, $filters)) { $filters[Ddl::SEQUENCE]['excludes'][] = '%'; } else { $filters[Ddl::SEQUENCE] = ['excludes' => '%']; } if (array_key_exists(Ddl::TABLE, $filters)) { $filters[Ddl::TABLE]['excludes'][] = '%'; } else { Loading Loading
src/Bdd.php +13 −3 Original line number Diff line number Diff line Loading @@ -935,9 +935,7 @@ class Bdd $tDdl = $source->table()->get(null, $excludes); $this->drop(); $this->create([Ddl::SCHEMA => $schDdl]); $this->create([Ddl::SEQUENCE => $sDdl]); $this->create([Ddl::TABLE => $tDdl]); $this->create([Ddl::SCHEMA => $schDdl,Ddl::SEQUENCE => $sDdl,Ddl::TABLE => $tDdl]); $this->inCopy = true; $this->logBegin("Copie des données"); Loading @@ -956,6 +954,18 @@ class Bdd $this->inCopy = false; if (array_key_exists(Ddl::SCHEMA, $filters)) { $filters[Ddl::SCHEMA]['excludes'][] = '%'; } else { $filters[Ddl::SCHEMA] = ['excludes' => '%']; } if (array_key_exists(Ddl::SEQUENCE, $filters)) { $filters[Ddl::SEQUENCE]['excludes'][] = '%'; } else { $filters[Ddl::SEQUENCE] = ['excludes' => '%']; } if (array_key_exists(Ddl::TABLE, $filters)) { $filters[Ddl::TABLE]['excludes'][] = '%'; } else { Loading