3 use Phinx\Migration\AbstractMigration
;
5 class InitDatabase
extends AbstractMigration
12 $this->execute("CREATE TABLE IF NOT EXISTS `montest` (
13 `id` int(11) NOT NULL AUTO_INCREMENT,
14 `name` varchar(255) NOT NULL,
15 `value` varchar(255) NOT NULL,
17 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;");
23 public function down()
25 $this->execute("DROP DATABASE montest;");