]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Add generic per-type rendering, implement ARRAY
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 16 Aug 2017 14:26:16 +0000 (10:26 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 16 Aug 2017 14:58:21 +0000 (10:58 -0400)
commit634ae5c521869918905aa589b4f5ed68db0e2d53
tree02780ac641eacf1597994515dda4f43ef807f420
parentd376785c71699acb233171b07d20f9ba3a45e78c
Add generic per-type rendering, implement ARRAY

Fixed bug expanding upon the fix for
:ticket:`85` which adds the correct module import to the
"inner" type for an ``ARRAY`` type, the fix now accommodates for the
generic ``sqlalchemy.types.ARRAY`` type added in SQLAlchemy 1.1,
rendering the inner type correctly regardless of whether or not the
Postgresql dialect is present.

Change-Id: I98ffbf95a88dc815404a2d1020b0e3e56742ca8c
Fixes: #442
alembic/autogenerate/render.py
alembic/ddl/postgresql.py
docs/build/unreleased/442.rst [new file with mode: 0644]
tests/test_autogen_render.py
tests/test_postgresql.py