[jOOQ/jOOQ#9425] Diff views (more comments)
This commit is contained in:
parent
3297daf04d
commit
a0b74c2203
@ -244,7 +244,10 @@ final class DDL {
|
||||
String tComment = table.getComment();
|
||||
|
||||
if (!StringUtils.isEmpty(tComment))
|
||||
result.add(ctx.commentOnTable(table).is(tComment));
|
||||
if (table.getType().isView())
|
||||
result.add(ctx.commentOnView(table).is(tComment));
|
||||
else
|
||||
result.add(ctx.commentOnTable(table).is(tComment));
|
||||
|
||||
for (Field<?> field : sortIf(Arrays.asList(table.fields()), !configuration.respectColumnOrder())) {
|
||||
String fComment = field.getComment();
|
||||
|
||||
@ -495,6 +495,8 @@ package org.jooq.impl;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user