Path to this page:
Subject: CVS commit: pkgsrc/databases/py-alembic
From: Adam Ciarcinski
Date: 2020-10-15 15:53:46
Message id: 20201015135346.C5ED7FB28@cvs.NetBSD.org
Log Message:
py-alembic: updated to 1.4.3
1.4.3
bug
[bug] [batch] [sqlite]
Added support to drop named CHECK constraints that are specified as part of a \
column, rather than table wide. Previously, only constraints associated with the \
table were considered.
[bug] [mysql] [ops]
Fixed issue where the MySQL dialect would not correctly render the server \
default of a column in an alter operation, if the operation were \
programmatically generated from an autogenerate pass as it would not accommodate \
for the full structure of the DefaultClause construct.
[bug] [batch] [sqlite]
Fixed issue where the CAST applied to a JSON column when copying a SQLite table \
during batch mode would cause the data to be lost, as SQLite’s CAST with JSON \
appears to convert the data to the value “0”. The CAST is now skipped in a \
dialect-specific manner, including for JSON columns on SQLite. Pull request \
courtesy Sebastián Ramírez.
[bug] [commands]
The alembic current command no longer creates an alembic_version table in the \
database if one does not exist already, returning no version as the current \
version. This allows checking for migrations in parallel without introducing \
race conditions. Pull request courtesy Nikolay Edigaryev.
[bug] [batch]
Fixed issue where columns in a foreign-key referenced table would be replaced \
with null-type columns during a batch operation; while this did not generally \
have any side effects, it could theoretically impact a batch operation that also \
targets that table directly and also would interfere with future changes to the \
.append_column() method to disallow implicit replacement of columns.
[bug] [mssql]
Fixed issue where the mssql_drop_foreign_key=True flag on op.drop_column would \
lead to incorrect syntax error due to a typo in the SQL emitted, same typo was \
present in the test as well so it was not detected. Pull request courtesy Oleg \
Shigorin.
Files: