mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #217] [CLOSED] [BUG] Schema Manager had no way to define extra options #7869
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/217
Author: @olegstepura
Created: 12/14/2011
Status: ❌ Closed
Base:
master← Head:patch-1📝 Commits (1)
f1fcfdcSchema 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.