Hello!
How do you use migrations?
I have some questions about them:
- Is there any autoloader inside \Phalcon\Mvc\Model\Migration? I extend this class in my project to make it at least more or less useful (e.g. \Api\Extensions\Migration) and want to autoload it for
class UsersListMigration_103 extends \Api\Extensions\Migration
- Data migration. Something simple will be enough. Like converting dates from integer to datetime/timestamp. Basically, I wrote my wrapper (see question 1), but want to know how to deal with this stuff other developers.
- How to implement 1 and 2 so that after
phalcon migration generate
prevent changing each created class by my hands.
Thank you.