<?xml version="1.0" encoding="UTF-8"?>

<!--

 This file is part of the Sylius package.

 (c) Paweł Jędrzejewski

 For the full copyright and license information, please view the LICENSE
 file that was distributed with this source code.

-->

<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
                  xmlns:gedmo="http://gediminasm.org/schemas/orm/doctrine-extensions-mapping">

    <mapped-superclass name="Sylius\Component\Report\Model\Report" table="sylius_report">
        <id name="id" column="id" type="integer">
            <generator strategy="AUTO" />
        </id>

        <field name="name" column="name" type="string" nullable="false" />
        <field name="description" column="description" type="string" nullable="true" />

        <field name="dataFetcher" column="data_fetcher" type="string" nullable="false" />
        <field name="dataFetcherConfiguration" column="data_fetcher_configuration" type="array" />
    </mapped-superclass>

</doctrine-mapping>

<?xml version="1.0" encoding="UTF-8"?>

<!--

 This file is part of the Sylius package.

 (c) Paweł Jędrzejewski

 For the full copyright and license information, please view the LICENSE
 file that was distributed with this source code.

-->

<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
                  xmlns:gedmo="http://gediminasm.org/schemas/orm/doctrine-extensions-mapping">

    <mapped-superclass name="Sylius\Component\Report\Model\Report" table="sylius_report">
        <id name="id" column="id" type="integer">
            <generator strategy="AUTO" />
        </id>

        <field name="name" column="name" type="string" nullable="false" />
        <field name="description" column="description" type="string" nullable="true" />

        <field name="dataFetcher" column="data_fetcher" type="string" nullable="false" />
        <field name="dataFetcherConfiguration" column="data_fetcher_configuration" type="array" />

        <field name="renderer" column="renderer" type="string" nullable="false" />
        <field name="rendererConfiguration" column="renderer_configuration" type="array" />
    </mapped-superclass>

</doctrine-mapping>

Add renderer and rendererConfiguration fields to database.
Add renderer and rendererConfiguration fields to database.
