to the :class:`~sqlalchemy.schema.MetaData` during the reflection
process. This is typically required if one wants to drop SQLite
constraints, as these constraints will not have names when
- reflected on this backend.
+ reflected on this backend. Requires SQLAlchemy **0.9.4** or greater.
.. seealso::
batch_op.drop_constraint(
"fk_bar_foo_id_foo", type_="foreignkey")
+Note that the naming convention feature requires at least
+**SQLAlchemy 0.9.4** for support.
+
.. versionadded:: 0.7.1
added :paramref:`~.Operations.batch_alter_table.naming_convention` to
:meth:`.Operations.batch_alter_table`.
{"id": 5, "x": 9}
])
+ @config.requirements.sqlalchemy_094
@config.requirements.unnamed_constraints
def test_drop_foreign_key(self):
bar = Table(