[jOOQ/jOOQ#9483] Fix export of COMMENT ON MATERIALIZED VIEW
This commit is contained in:
parent
5853a7e3da
commit
9f3645f94e
@ -399,7 +399,9 @@ final class DDL {
|
||||
Comment tComment = table.getCommentPart();
|
||||
|
||||
if (!StringUtils.isEmpty(tComment.getComment()))
|
||||
if (table.getTableType().isView())
|
||||
if (table.getTableType() == MATERIALIZED_VIEW)
|
||||
result.add(ctx.commentOnMaterializedView(table).is(tComment));
|
||||
else if (table.getTableType() == VIEW)
|
||||
result.add(ctx.commentOnView(table).is(tComment));
|
||||
else
|
||||
result.add(ctx.commentOnTable(table).is(tComment));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user