Tests that embedded enums are registered in the app schema but don’t create
their own database tables (they’re inlined into parent models as a single column).
Tests filtering records by embedded enum variant.
SQL-only: DynamoDB requires a partition key in queries.
Validates that enum fields can be used in WHERE clauses (comparing discriminants),
and verifies the driver-level representation: the WHERE clause compares the status
column to an I64 discriminant, not a string or other type.