diff --git a/Command/FixturesLoadCommand.php b/Command/FixturesLoadCommand.php index 6385f0e..4acf724 100644 --- a/Command/FixturesLoadCommand.php +++ b/Command/FixturesLoadCommand.php @@ -125,7 +125,7 @@ EOT if (!$this->absoluteFixturesPath && !file_exists($this->absoluteFixturesPath)) { return $this->writeSection($output, array( - 'The fixtures directory does not exist.' + 'The fixtures directory "' . $this->absoluteFixturesPath . '" does not exist.' ), 'fg=white;bg=red'); } diff --git a/Command/TableDropCommand.php b/Command/TableDropCommand.php index ab9535a..7c093ae 100644 --- a/Command/TableDropCommand.php +++ b/Command/TableDropCommand.php @@ -100,10 +100,10 @@ EOT $connection->exec('SET FOREIGN_KEY_CHECKS = 0;'); - $tablesToDelete = join(', ', $tablesToDelete); + $tablesToDelete = join('`, `', $tablesToDelete); if ('' !== $tablesToDelete) { - $connection->exec('DROP TABLE ' . $tablesToDelete . ' ;'); + $connection->exec('DROP TABLE `' . $tablesToDelete . '` ;'); $output->writeln(sprintf('Table' . $tablePlural . ' %s has been dropped.', $tablesToDelete)); }