Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixed bug with comment option not being added to column. #474

Merged
merged 1 commit into from

3 participants

@okovalov

Title explains everything... =)

@doctrinebot
Collaborator

Hello,

thank you for positing this Pull Request. I have automatically opened an issue on our Jira Bug Tracker for you with the details of this Pull-Request. See the Link:

http://doctrine-project.org/jira/browse/DDC-2068

@guilhermeblanco guilhermeblanco merged commit a4b85c4 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/Doctrine/ORM/Tools/SchemaTool.php
View
6 lib/Doctrine/ORM/Tools/SchemaTool.php
@@ -385,6 +385,12 @@ private function _gatherColumn($class, array $mapping, $table)
}
if (isset($mapping['options'])) {
+ if (isset($mapping['options']['comment'])) {
+ $options['comment'] = $mapping['options']['comment'];
+
+ unset($mapping['options']['comment']);
+ }
+
$options['customSchemaOptions'] = $mapping['options'];
}
Something went wrong with that request. Please try again.