2db5ce544f
The variable `table` is mutated from `schema.tablename` to `tablename` before being passed to other functions, which try to parse the schema from the name. This results in schema name being `public` because it's missing from the given table name.