Id type and size #34

Open
opened 2026-09-03 07:14:37 +02:00 by c.fahner · 0 comments
Owner

Setting the generator to IdGenerator::None in the IdOptions object does not tell the database much about the optimal type of the ID-field, meaning it has to resort to a reasonably-sized text-based default.

IdOptions should have a public Type $type property which can then be analyzed by the implementation like any other type. The type can only be set when the value is not generated and can only be an int or a string.

Setting the generator to `IdGenerator::None` in the `IdOptions` object does not tell the database much about the optimal type of the ID-field, meaning it has to resort to a reasonably-sized text-based default. `IdOptions` should have a `public Type $type` property which can then be analyzed by the implementation like any other type. The type can only be set when the value is not generated and can only be an int or a string.
c.fahner added this to the v0.2 milestone 2026-09-03 07:14:37 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
slendium/ocd#34
No description provided.