hasura / hasura/graphql-engine
Primary key column ordering not preserved
Open
c/console
estimate/M
k/bug
p/longterm
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
Given a table "foo", with
```
postgres=# \d "foo"
Table "foo"
Column | Type | Collation | Nullable | Default
---------------------+---------+-----------+----------+---------
xx | bigint | | not null |
bb | bigint | | not null |
aa | bigint | | not null |
Indexes:
"foo_pkey" PRIMARY KEY, btree ("xx", "bb", "aa")
```
The hasura console (v2.0.3) displays (Data > default > public > foo > Modify), misleadingly:
```
Primary Key
[Edit] ( aa, bb, xx ) - foo_pkey
```
Contributor guide
Assessment
This issue has not been assessed yet.