Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing ROW_FORMAT option #125

Open
wurst-hans opened this issue Oct 19, 2021 · 1 comment
Open

Missing ROW_FORMAT option #125

wurst-hans opened this issue Oct 19, 2021 · 1 comment
Labels
NFR New Feature Request

Comments

@wurst-hans
Copy link

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)?

@Jeckerson
Copy link
Member

Jeckerson commented Oct 20, 2021

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.

@Jeckerson Jeckerson added the NFR New Feature Request label Oct 20, 2021
@Jeckerson Jeckerson added this to the 3.0.x milestone Oct 20, 2021
@Jeckerson Jeckerson removed this from the 3.0.x milestone May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NFR New Feature Request
Projects
None yet
Development

No branches or pull requests

2 participants