Missing table delete
This commit is contained in:
parent
5fd13990aa
commit
8d909539a8
|
@ -459,6 +459,7 @@ class MySQL extends Adapter
|
|||
throw new Exception('Empty namespace');
|
||||
}
|
||||
|
||||
$unique = 'app_'.$namespace.'.database.unique';
|
||||
$documents = 'app_'.$namespace.'.database.documents';
|
||||
$properties = 'app_'.$namespace.'.database.properties';
|
||||
$relationships = 'app_'.$namespace.'.database.relationships';
|
||||
|
@ -466,6 +467,7 @@ class MySQL extends Adapter
|
|||
$abuse = 'app_'.$namespace.'.abuse.abuse';
|
||||
|
||||
try {
|
||||
$this->getPDO()->prepare('DROP TABLE `'.$unique.'`;')->execute();
|
||||
$this->getPDO()->prepare('DROP TABLE `'.$documents.'`;')->execute();
|
||||
$this->getPDO()->prepare('DROP TABLE `'.$properties.'`;')->execute();
|
||||
$this->getPDO()->prepare('DROP TABLE `'.$relationships.'`;')->execute();
|
||||
|
|
Loading…
Reference in a new issue