migrations
migrations copied to clipboard
Missing ROW_FORMAT option
I've overseen, that Phalcon migrations do not seem to support ROW_FORMAT
option on creating tables. How can this be done (i.e. how to modify migration classes manually to change that option on table)?
For now: you can write whatever queries inside up()
and down()
methods. Example:
public function up()
{
$this->getConnection()->query('YOUR CUSTOM QUERY HERE');
}
In cases when you want to use only custom queries or even queries with PHP logic, do not use morph()
method.