What this error means
UNSUPPORTED_SHARDED_FEATURE means the schema uses a feature that is valid in some MySQL or unsharded Vitess schemas but not in a sharded keyspace.
Common messages include:
Why PlanetScale rejects it
In a sharded keyspace, rows are distributed across multiple MySQL instances. Features that require one local MySQL instance to understand the entire table, such asAUTO_INCREMENT, cannot coordinate safely across shards. Views are also not supported in sharded keyspaces.
How to fix it
ForAUTO_INCREMENT columns, use a Vitess sequence table instead:

