With the method Phalcon\Db\Adapter\Pdo\Mysql->describeIndexes() can I read the indexes for a database table. Internal create this method a Phalcon\Db\Index instance. If the index type NULL , then an error message:
Phalcon\Db\Index::__construct(): Passing null to parameter #3 ($type) of type string is deprecated
With the method
Phalcon\Db\Adapter\Pdo\Mysql->describeIndexes()
can I read the indexes for a database table. Internal create this method aPhalcon\Db\Index
instance. If the index typeNULL
, then an error message:Backtrace:
In the class
Phalcon\Db\Adapter\Pdo\Mysql->describeIndexes()
in line 542:But the constructor from the class
Phalcon\Db\Index
required as third parameter only string.Details
I change the line in the class
Phalcon\Db\Adapter\Pdo\Mysql->describeIndexes()
542 to:This work.
Regards phptux