(out *strings.Builder, schemaName, tableName, oldComment, newComment string)
| 1406 | } |
| 1407 | |
| 1408 | func writeTableCommentDiff(out *strings.Builder, schemaName, tableName, oldComment, newComment string) error { |
| 1409 | if oldComment == newComment { |
| 1410 | return nil |
| 1411 | } |
| 1412 | return writeComment(out, fmt.Sprintf("TABLE \"%s\".\"%s\"", schemaName, tableName), newComment) |
| 1413 | } |
| 1414 | |
| 1415 | func writeColumnCommentDiff(out *strings.Builder, schemaName, tableName, columnName, comment string) error { |
| 1416 | return writeComment(out, fmt.Sprintf("COLUMN \"%s\".\"%s\".\"%s\"", schemaName, tableName, columnName), comment) |
no test coverage detected