]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Implemented support for Table and Column Comments
authorMike Waites <mikey.waites@gmail.com>
Fri, 31 Aug 2018 18:56:36 +0000 (19:56 +0100)
committermike bayer <mike_mp@zzzcomputing.com>
Thu, 10 Jan 2019 02:09:03 +0000 (02:09 +0000)
commitec8db7d875f486cde2d02942bd8409abf37e3704
tree3760cd8551f84dcd91a04cf4b4b60c589b7e2ad0
parent1cf6fc014570cf0bdc7ea2a7d5f36f2dda5f61b7
Implemented support for Table and Column Comments

Added Table and Column level comments for supported backends.
`create_table`, `add_column` and `alter_column` now optionally
take  `comment="X"` kwarg.  Support for autogenerate for Table
and Column objects has also been added

Fixes: #422
Change-Id: I1fd37bb7fe3d167baf7b1e7bf7ff5bfd48e7cf54
24 files changed:
alembic/autogenerate/compare.py
alembic/autogenerate/render.py
alembic/ddl/base.py
alembic/ddl/impl.py
alembic/ddl/mysql.py
alembic/ddl/oracle.py
alembic/ddl/postgresql.py
alembic/operations/__init__.py
alembic/operations/ops.py
alembic/operations/toimpl.py
alembic/testing/requirements.py
alembic/util/__init__.py
alembic/util/sqla_compat.py
docs/build/unreleased/422.rst [new file with mode: 0644]
tests/test_autogen_comments.py [new file with mode: 0644]
tests/test_autogen_composition.py
tests/test_autogen_render.py
tests/test_batch.py
tests/test_mysql.py
tests/test_op.py
tests/test_oracle.py
tests/test_postgresql.py
tests/test_revision.py
tests/test_sqlite.py