This topic contains 6 replies, has 4 voices, and was last updated by adriwan_kenoby 6 years ago.
- Topic
Hi Oro Team,
During the integration process, EmailRecipient entities are created. These EmailRecipients have a name column which is a string but sometimes, there is a lot of adddresses in this field and synchronisation fail because name is a Doctrine type string and not a text (TINYTEXT).
I have made a migration to workaround this problem. But my migration is override when i run doctrine:schema:update.
12345678910111213141516171819202122232425262728293031<?phpnamespace Sinabs\Bundle\ExtendEmailBundle\Migrations\Schema\v1_0;use Doctrine\DBAL\Schema\Schema;use Doctrine\DBAL\Types\Type;use Oro\Bundle\MigrationBundle\Migration\Migration;use Oro\Bundle\MigrationBundle\Migration\QueryBag;/*** Description of UpdateEmailRecipientNameToText** @author adrien*/class EmailRecipientMigration implements Migration {/*** {@inheritdoc}*/public function getMigrationVersion() {return 'v1_0';}/*** {@inheritdoc}*/public function up(Schema $schema, QueryBag $queries) {$schema->getTable('oro_email_recipient')->getColumn('name')->setType(Type::getType('text'));}}I supposed this is due to version number of the migration…
What is the version number i have to set to keep my database structure ?Kind regards.
The forum ‘OroCRM – Installation/Technical Issues or Problems’ is closed to new topics and replies.