]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
support separation of Numeric/Float
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 25 Nov 2024 18:57:58 +0000 (13:57 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 25 Nov 2024 18:57:58 +0000 (13:57 -0500)
commit3815c571b606b37ecbded32a613f2615db9b5d5c
tree90c15d292cd10ebb3836683d807b0035d0f637fc
parente09ef30d879daa00895098d0fca2a2a58065292b
support separation of Numeric/Float

in [1] we are considering separating Numeric and Float.
For Alembic PostgreSQL backend we need this isinstance therefore
to check for both Numeric and Float.
By keeping it to these two types, rather than targeting the
NumericCommon type being added in [1], the patch can work with
SQLAlchemy without the separation change as well.

[1] https://gerrit.sqlalchemy.org/c/sqlalchemy/sqlalchemy/+/3587

Change-Id: I0c956ba8797e38a62ea630ab65cd53779bbf1972
alembic/ddl/postgresql.py