0

Is there any way to change the font style for Column comments that are rendered to schema image? Currently column comments assigned in SQLAlchemy using eg https://docs.sqlalchemy.org/en/13/core/metadata.html#sqlalchemy.schema.Column.params.comment are rendered in the schema output, but has the same style as the column name and type.

For example, with the following table definition in SQLAlchemy:

Base = declarative_base()


class my_table(Base):
    __tablename__ = 'my_table'

    my_column = Column(Integer, primary_key=True, autoincrement=False, comment='my column comment')

    def __init__(self, my_column):
        self.my_column = my_column

I run schemacrawler.sh with -c schema --output-format=jpg I get the JPG attached. schemacrawler example with column comment

H3007
  • 46
  • 5

1 Answers1

0

No, sorry. SchemaCrawler does not have a way to customize those fonts. You can create a feature request on GitHub though.

Sualeh Fatehi, SchemaCrawler

Sualeh Fatehi
  • 4,700
  • 2
  • 24
  • 28
  • Ok thanks. I have created a feature request. Many thanks for providing such a powerful and free library! – H3007 Nov 27 '19 at 19:56