Skip to content

Commit

Permalink
Adapt to dbal 2.5.12+ fix
Browse files Browse the repository at this point in the history
  • Loading branch information
flack committed Sep 12, 2017
1 parent 12c3f6b commit 3ce342d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/storage/subscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,11 @@ public function onSchemaCreateTable(SchemaCreateTableEventArgs $args)
}
}
}
if ( !empty($config['columnDefinition'])
&& !empty($config['comment'])
&& $platform->supportsInlineColumnComments()) {
$config['columnDefinition'] .= " COMMENT " . $platform->quoteStringLiteral($config['comment']);
}
}

if (!$modified) {
Expand Down

0 comments on commit 3ce342d

Please sign in to comment.