theDisco/phpmig — comment on commit 8ac167c7f3abfc09e4d9d8573b62989f8864d13e
File:  line 0
By davedevelopment:

My thinkings were

``` php
createStatement;
if ($sql == null) {
switch(get_class($this->adapter)) {
case 'Zend_Db_Adapter_Pdo_Mysql':
case 'Zend_Db_Adapter_Mysqli':
$sql = sprintf(static::MYSQL_CREATE_STATEMENT, $this->tableName);
break;

// cases for other adapters
}
}
try {
$this->adapter->query($sql);
} catch (\Zend_Db_Statement_Exception $exception) {
throw new \InvalidArgumentException('Please provide a valid SQL statement for your database system in the config file as phpmig.createStatement');
}

return $this;
}
```

What do you think?