diff options
| author | Federico Caselli <cfederico87@gmail.com> | 2020-04-19 20:09:39 +0200 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-04-20 11:54:20 -0400 |
| commit | aaec1bdedfc73ead3aef3a3e4d835a8df339e2dd (patch) | |
| tree | 70dd9f841bcd9e9c8b14d6d7f4238abeda64fc46 /lib/sqlalchemy/testing/suite | |
| parent | 2f617f56f2acdce00b88f746c403cf5ed66d4d27 (diff) | |
| download | sqlalchemy-aaec1bdedfc73ead3aef3a3e4d835a8df339e2dd.tar.gz | |
Support `ARRAY` of `Enum`, `JSON` or `JSONB`
Added support for columns or type :class:`.ARRAY` of :class:`.Enum`,
:class:`.JSON` or :class:`_postgresql.JSONB` in PostgreSQL.
Previously a workaround was required in these use cases.
Raise an explicit :class:`.exc.CompileError` when adding a table with a
column of type :class:`.ARRAY` of :class:`.Enum` configured with
:paramref:`.Enum.native_enum` set to ``False`` when
:paramref:`.Enum.create_constraint` is not set to ``False``
Fixes: #5265
Fixes: #5266
Change-Id: I83a2d20a599232b7066d0839f3e55ff8b78cd8fc
Diffstat (limited to 'lib/sqlalchemy/testing/suite')
0 files changed, 0 insertions, 0 deletions
