public function preDown(\Doctrine\DBAL\Schema\Schema $schema) { parent::preDown($schema); $this->_tmpDir = rtrim(sys_get_temp_dir(), \DIRECTORY_SEPARATOR) . \DIRECTORY_SEPARATOR . uniqid(); mkdir($this->_tmpDir, 0777, true); $this->storeFiles(); }
public function preDown(\Doctrine\DBAL\Schema\Schema $schema) { parent::preDown($schema); $this->write("<info>All school data is currently lost in a down migration. Fix this.</info>"); }
public function preDown(Schema $schema) { parent::preDown($schema); $this->pre(); }