<?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:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
                                      http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">

    <mapped-superclass name="Sylius\Bundle\ProductBundle\Model\ProductProperty" table="sylius_product_property">
        <id name="id" column="id" type="integer">
            <generator strategy="AUTO" />
        </id>

        <many-to-one field="product" target-entity="Sylius\Bundle\ProductBundle\Model\ProductInterface" inversed-by="properties">
            <join-column name="product_id" referenced-column-name="id" nullable="false" />
        </many-to-one>
        <many-to-one field="property" target-entity="Sylius\Bundle\ProductBundle\Model\PropertyInterface">
            <join-column name="property_id" referenced-column-name="id" nullable="false" />
        </many-to-one>

        <field name="value" column="value" type="string" />
    </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:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
                                      http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">

    <mapped-superclass name="Sylius\Bundle\ProductBundle\Model\ProductProperty" table="sylius_product_property">
        <id name="id" column="id" type="integer">
            <generator strategy="AUTO" />
        </id>

        <many-to-one field="product" target-entity="Sylius\Bundle\ProductBundle\Model\ProductInterface" inversed-by="properties">
            <join-column name="product_id" referenced-column-name="id" nullable="false" />
        </many-to-one>
        <many-to-one field="property" target-entity="Sylius\Bundle\ProductBundle\Model\PropertyInterface">
            <join-column name="property_id" referenced-column-name="id" nullable="false" />
        </many-to-one>

        <field name="value" column="value" type="text" />
    </mapped-superclass>

</doctrine-mapping>

Change product property field type to "text".
Change product property field type to "text". 

Related to #868.