Skip to content

Commit df9e369

Browse files
authored
Move migration rollback before table drops
1 parent 3201d80 commit df9e369

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Test/CIDatabaseTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ protected function setUp()
173173
{
174174
$this->migrations->setNamespace($this->namespace);
175175
}
176+
$this->migrations->regress(0, 'tests');
176177

177178
// Delete all of the tables to ensure we're at a clean start.
178179
$tables = $this->db->listTables();
@@ -192,7 +193,6 @@ protected function setUp()
192193
}
193194
}
194195

195-
$this->migrations->regress(0, 'tests');
196196
$this->migrations->latest('tests');
197197
}
198198

0 commit comments

Comments
 (0)