The error message is described in the errors page at :ref:`error_8s2a`.
+.. _change_5367:
+Enum and Boolean datatypes no longer default to "create constraint"
+-------------------------------------------------------------------
+
+The :paramref:`.Enum.create_constraint` and
+:paramref:`.Boolean.create_constraint` parameters now default to False,
+indicating when a so-called "non-native" version of these two datatypes is
+created, a CHECK constraint will **not** be generated by default. These
+CHECK constraints present schema-management maintenance complexities that
+should be opted in to, rather than being turned on by default.
+
+
+To ensure that a CREATE CONSTRAINT is emitted for these types, set these
+flags to ``True``::
+
+ class Spam(Base):
+ __tablename__ = "spam"
+ id = Column(Integer, primary_key=True)
+ boolean = Column(Boolean(create_constraint=True))
+ enum = Column(Enum("a", "b", "c", create_constraint=True))
+
+
+:ticket:`5367`
New Features - ORM
==================