You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm planning ahead and starting to use FQCNs as custom doctrine type getName implementation, as well as registering them under that name with Type::addType. Sadly, it seems SQL comments with backslashes are somehow not matched with the desired value, and the upgrade command tries to change the type again and again with such queries:
ALTER TABLE transactions ALTER territory TYPE VARCHAR(255);
ALTER TABLE transactions ALTER territory DROP DEFAULT;
ALTER TABLE transactions ALTER price_value TYPE JSON;
ALTER TABLE transactions ALTER price_value DROP DEFAULT;
ALTER TABLE basic_metadata ALTER country_of_origin TYPE VARCHAR(255);
ALTER TABLE basic_metadata ALTER country_of_origin DROP DEFAULT;
The SQL comment is present, with double backslashes:
Column | Type | Modifiers | Storage | Stats target | Description
------------+------------------------+-----------+----------+--------------+-------------------------------------------------------------------------------------------
alid | character varying(255) | not null | extended | | (DC2Type:TitlePublisher\\Infrastructure\\Persistence\\Doctrine\\Type\\AssetLogicalIdType)
content_id | character varying(255) | | extended | | (DC2Type:EMA\\MD\\Doctrine\\Type\\SimpleType\\ContentIdType)
avail_type | character varying(255) | not null | extended | | (DC2Type:TitlePublisher\\Infrastructure\\Persistence\\Doctrine\\Type\\AvailTypeType)
The text was updated successfully, but these errors were encountered:
But regardless of anything it's a DBAL issue, can you please close it here and create a new issue there (if it's still happening on the latest DBAL release, sure).
I'm planning ahead and starting to use FQCNs as custom doctrine type
getName
implementation, as well as registering them under that name withType::addType
. Sadly, it seems SQL comments with backslashes are somehow not matched with the desired value, and the upgrade command tries to change the type again and again with such queries:The SQL comment is present, with double backslashes:
The text was updated successfully, but these errors were encountered: