Hi, everyone.
I have phalcon 3.3 and devtools 3.4.0
when I try to run a migration like so
phalcon migration run --version=1.0.1
where in the php code I use
self::$_connection->...
inside up() I get an error
Access to undeclared static property: VersionsMigration_101::$_connection
According to the following this should be working https://docs.phalcon.io/en/3.3/db-migrations#writing-migrations
and I had it working. Not sure what happened.
I tried to dig into this and got another weird dilema,
I could not find class Phalcon\Mvc\Model\Migration anywhere in Phalcon source
I would expect a file migration.zep or something like that in here https://github.com/phalcon/cphalcon/tree/master/phalcon/mvc/model Tried even searching for "Migration" in any of the files. Nothing. What am I doing/thinking wrong?