-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The command doctrine:schema:update doesn't see what field already MEDIUMTEXT #6824
Comments
Could you paste the "CREATE TABLE" sql (from without your database)? |
|
@dmytroboiko have you tried to use the type that the documentation recommends (text)? http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/types.html#character-string-types |
@lcobucci, Yes I tried. But if I setted type: |
@dmytroboiko this sounds like a DBAL issue then, can you please send us a PR over there with a failing test case? |
I'll also close this issue since it doesn't seem to be related to the ORM, don't forget to add a link to it on the DBAL PR. |
I have a field which I want to be mysql mediumtext
Example.orm.yaml
Everything is fine, field created as 'mediumtext'
but whenever I run
php bin/console doctrine:schema:update --dump-sql
I get
ALTER TABLE table CHANGE description description MEDIUMTEXT NOT NULL;
though
description
is MEDIUMTEXT already.The text was updated successfully, but these errors were encountered: