Fix missing schema in by object mutations.

When mutation is specified by an object instead of a string, use
'public' for the schema if the schema is not specified.