Skip to content
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

DBAL-1182: No schema difference detected when changing length of a text field #1125

Closed
doctrinebot opened this issue Mar 26, 2015 · 2 comments

Comments

@doctrinebot
Copy link

Jira issue originally created by user esheffield:

I have a text field with a length specified that causes it to be chosen as TINYTEXT in MySQL.

/****  
 * @ORM\Column(name="message", type="text", length=255,  nullable=true)
 */
protected $message;

When I remove the length field from the annotation, I would expect the field to then be interpreted as LONGTEXT as specified in the documentation. However, when I run orm:schematool:update, it says that there is nothing to update.

@morozov
Copy link
Member

morozov commented Nov 2, 2021

Fixed via #4746.

@morozov morozov closed this as completed Nov 2, 2021
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants