We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Migrations Alter Table

Hello!

How can I make a migration that changes the structure of the table? Does not rewrite, but complements

For example:

migration 1.0.0

... public function morph() { try { $this->morphTable('user', [...]) } } ...

And then I want add column to table "user" in migration 1.0.1

Thanks.

I didn't use it but probably find your solution in the manual

Good luck