DDC-101: Mapping Column of Type String Default Length #127

Closed
opened 2026-01-22 12:28:04 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Nov 2, 2009).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user @beberlei:

The default mapping column length should be 255, however SchemaTool does not enforce this in the update clause, and it enforces this in the create clause only because of Platform::getVarcharMaxLength() which should not be the relevant scale for this default (Since platform max varchars can be much higher than 255).

Originally created by @doctrinebot on GitHub (Nov 2, 2009). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user @beberlei: The default mapping column length should be 255, however SchemaTool does not enforce this in the update clause, and it enforces this in the create clause only because of Platform::getVarcharMaxLength() which should not be the relevant scale for this default (Since platform max varchars can be much higher than 255).
admin added the Bug label 2026-01-22 12:28:04 +01:00
admin closed this issue 2026-01-22 12:28:05 +01:00
Author
Owner

@doctrinebot commented on GitHub (Nov 2, 2009):

Comment created by @beberlei:

Fixed

@doctrinebot commented on GitHub (Nov 2, 2009): Comment created by @beberlei: Fixed
Author
Owner

@doctrinebot commented on GitHub (Nov 2, 2009):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Nov 2, 2009): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#127