Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support uuid type in console #142

Closed
0x777 opened this issue Jul 17, 2018 · 1 comment · Fixed by #160
Closed

support uuid type in console #142

0x777 opened this issue Jul 17, 2018 · 1 comment · Fixed by #160
Labels
c/console Related to console c/server Related to server k/enhancement New feature or improve an existing feature
Milestone

Comments

@0x777
Copy link
Member

0x777 commented Jul 17, 2018

While UUID type is natively supported in Postgres, pgcrypto extension has to be enabled to add a default value.

Without default value:

CREATE TABLE article ( 
  id UUID PRIMARY KEY,
  title TEXT NOT NULL
)

With default value:

CREATE EXTENSION IF NOT EXISTS pgcrypto;
CREATE TABLE article (
  id UUID DEFAULT gen_random_uuid() PRIMARY KEY,
  title TEXT NOT NULL
);
@0x777 0x777 added k/enhancement New feature or improve an existing feature c/console Related to console c/server Related to server labels Jul 17, 2018
@shahidhk
Copy link
Member

shahidhk commented Jul 17, 2018

via michael on intercom.

@praveenweb praveenweb added this to the 1.0-alpha09 milestone Jul 18, 2018
hgiasac pushed a commit to hgiasac/graphql-engine that referenced this issue Dec 19, 2023
* deny unknown fields for ClaimsMappingEntry path

* format

GitOrigin-RevId: 0ff7cf414e666643e95298c2e8f276157ea3a47c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/console Related to console c/server Related to server k/enhancement New feature or improve an existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants