hasura / hasura/graphql-engine

Support varchars in Postgres as hasura graphql enums

Open
#7,158 0 comments 0 reactions 1 assignee Claimed by @0x777 View on GitHub
a/data a/data/postgres k/enhancement p/medium t/server t/server/data
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

Currently errors out:

> Inconsistent object: the table "user_role" cannot be used as an enum for the following reasons: • the table's primary key ("value") must have type "text", not type "varchar" • the table must have exactly one primary key and optionally one comment column, not 2 columns (comment, value)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.