the supports_native_uuid attribute does NOT indicate
the UUID datatype being present, only that Uuid(native_uuid=True)
would be able to produce something. On SQL Server it produces
UNIQUEIDENTIFIER. The current use for this requirement is
that of testing the uppercase UUID type that has to match
that exactly.
Change-Id: I050e5d1889f804ee3763b84828f2bd6a47dd265e
(cherry picked from commit
f932fc762d40f9b3bb305eb8db8b890483282502)
def uuid_data_type(self):
"""Return databases that support the UUID datatype."""
- return exclusions.skip_if(
- lambda config: not config.db.dialect.supports_native_uuid,
- "backend does not have a UUID datatype",
- )
+ return exclusions.closed()
@property
def foreign_keys(self):