Version Information
Server Version: Hasura 2.8
CLI Version (for CLI related issue): Hasura 2.8
Environment
Official Docker image
What is the expected behaviour?
Tracking a table
What is the current behaviour?
Tables which contain a unique index with TRIM() results in an error when trying to track that table.
"error": "Error in $['unique_constraints'][0].columns: parsing [] failed, expected Array, but encountered Null",
How to reproduce the issue?
- Create a table with an unique index:
CREATE UNIQUE INDEX test_key ON "users" (trim(first_name))
- track that table in hasura