[PR #217] [CLOSED] [BUG] Schema Manager had no way to define extra options #7869

Closed
opened 2026-01-22 15:57:18 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/217
Author: @olegstepura
Created: 12/14/2011
Status: Closed

Base: masterHead: patch-1


📝 Commits (1)

  • f1fcfdc Schema Manager had no way to define extra options ("comment" option for example). It is possible to add these options via Annotations. After the fix adding @ORM\Column(type="string", options={"comment" = "test"}) starts to work producing valid SQL schema with COMMENT output.

📊 Changes

1 file changed (+6 additions, -0 deletions)

View changed files

📝 lib/Doctrine/ORM/Tools/SchemaTool.php (+6 -0)

📄 Description

Schema Manager had no way to define extra options ("comment" option for example). It is possible to add these options via Annotations. After the fix adding @ORM\Column(type="string", options={"comment" = "test"}) starts to work producing valid SQL schema with COMMENT output.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/217 **Author:** [@olegstepura](https://github.com/olegstepura) **Created:** 12/14/2011 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`f1fcfdc`](https://github.com/doctrine/orm/commit/f1fcfdc89e2c34303ca519e0cd6ec0a3cc523030) Schema Manager had no way to define extra options ("comment" option for example). It is possible to add these options via Annotations. After the fix adding `@ORM\Column(type="string", options={"comment" = "test"})` starts to work producing valid SQL schema with COMMENT output. ### 📊 Changes **1 file changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Tools/SchemaTool.php` (+6 -0) </details> ### 📄 Description Schema Manager had no way to define extra options ("comment" option for example). It is possible to add these options via Annotations. After the fix adding `@ORM\Column(type="string", options={"comment" = "test"})` starts to work producing valid SQL schema with COMMENT output. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 15:57:18 +01:00
admin closed this issue 2026-01-22 15:57:18 +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#7869