src/Phinx/Db/Adapter/MysqlAdapter.php
public function describeTable($tableName)
    {
        $options = $this->getOptions();

        // mysql specific
        $sql = sprintf(
            "SELECT *
             FROM information_schema.tables
             WHERE table_schema = '%s'
             AND table_name = '%s'",
            $options['name'],
            $tableName
        );

        return $this->fetchRow($sql);
    }
public function describeTable($tableName)
    {
        $options = $this->getOptions();

        // mysql specific
        $sql = sprintf(
            "SELECT *
             FROM information_schema.tables
             WHERE table_schema = '%s'
             AND table_name = '%s'",
            $options['name'],
            $tableName
        );

        return $this->fetchRow($sql);
    }
public function describeTable ( $ tableName ) { $ options = $ this -> getOptions ( ) ; // mysql specific $ sql = sprintf ( "SELECT *
             FROM information_schema.tables
             WHERE table_schema = '%s'
             AND table_name = '%s'" , $ options [ 'name' ] , $ tableName ) ; return $ this -> fetchRow ( $ sql ) ; }
Describes a database table. This is a MySQL adapter specific method.

@param string $tableName Table name
@return array
Describes a database table . This is a MySQL adapter specific method .