protected function parseSchema(array $columns)
    {
        $schema = [];

        foreach ($columns as $name => $column) {
            $schema[] = [
                'name' => $column->getName(),
                'type' => $column->getType()->getName()
            ];
        }

        return $schema;
    }