Open wurst-hans opened 2 years ago
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.
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)?