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

Open
opened 2026-01-22 12:28:02 +01:00 by admin · 0 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:02 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#126