We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ac2128 commit 0eaa556Copy full SHA for 0eaa556
tests/TestCase.php
@@ -175,7 +175,14 @@ protected function createDatabase(): void
175
$command->dropTable('migration')->execute();
176
}
177
178
- $this->runMigrate('down', ['all']);
+ if ($this->getDb()->getTableSchema('tree', true) !== null) {
179
+ $command->dropTable('tree')->execute();
180
+ }
181
+
182
+ if ($this->getDb()->getTableSchema('multiple_tree', true) !== null) {
183
+ $command->dropTable('multiple_tree')->execute();
184
185
186
$this->runMigrate('up');
187
188
0 commit comments