Graphql-engine: Feature request: Multi-column unique constraint

Created on 16 May 2019  路  5Comments  路  Source: hasura/graphql-engine

Currently Hasura allows having multiple single field unique constraints like this:
Multiple unique constraints

However there is not an option to define multi-column unique constraints.

for instance:

ALTER TABLE someTable
ADD UNIQUE (col1, col2)

Are there any plans to support this?

Most helpful comment

506 #2148

Delivered in https://github.com/hasura/graphql-engine/releases/tag/v1.0.0-beta.1 about 10 min before this issue was opened

馃槃

All 5 comments

506 #2148

Delivered in https://github.com/hasura/graphql-engine/releases/tag/v1.0.0-beta.1 about 10 min before this issue was opened

馃槃

Amazing, what a coincidence! v1.0.0-beta.01 is looking good.

Any clue on why the page is not longer available?

@rmonteroarkus Multi column unique constraints can be created in the console from the Create table and Modify table pages. Are you looking for something else?

just realised the linked release page is broken. Updated the link now

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rikinsk-zz picture rikinsk-zz  路  3Comments

sachaarbonel picture sachaarbonel  路  3Comments

jjangga0214 picture jjangga0214  路  3Comments

coco98 picture coco98  路  3Comments

Fortidude picture Fortidude  路  3Comments