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 80be5fc commit f3b8b32Copy full SHA for f3b8b32
tests/TestCase.php
@@ -171,18 +171,12 @@ protected function createDatabase(): void
171
{
172
$command = $this->getDb()->createCommand();
173
174
+ $this->runMigrate('down', ['all']);
175
+
176
if ($this->getDb()->getTableSchema('migration', true) !== null) {
177
$command->dropTable('migration')->execute();
178
}
179
- if ($this->getDb()->getTableSchema('tree', true) !== null) {
- $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