Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

support composite unique columns #1658

Closed
machi1990 opened this issue Jul 6, 2020 · 0 comments · Fixed by #1846
Closed

support composite unique columns #1658

machi1990 opened this issue Jul 6, 2020 · 0 comments · Fixed by #1846
Assignees
Labels
enhancement New feature or request graphql-migrations

Comments

@machi1990
Copy link
Contributor

Have support for compound unique constraint

"""
@model
"""
type Comment {
  id: ID!
  """
  @unique(name: "composite")
  """
  text: String

 """
  @unique(name: "composite")
  """
  description: String
}
@machi1990 machi1990 added enhancement New feature or request graphql-migrations labels Jul 6, 2020
@wtrocki wtrocki added the triage label Jul 6, 2020
@machi1990 machi1990 added this to the graphback@0.15.0 milestone Jul 15, 2020
@wtrocki wtrocki removed this from the graphback@0.15.0 milestone Jul 21, 2020
@wtrocki wtrocki removed the triage label Jul 21, 2020
@machi1990 machi1990 self-assigned this Aug 10, 2020
@machi1990 machi1990 modified the milestone: graphback@0.16.0 Aug 10, 2020
machi1990 added a commit to machi1990/graphback that referenced this issue Aug 10, 2020
machi1990 added a commit to machi1990/graphback that referenced this issue Aug 10, 2020
machi1990 added a commit that referenced this issue Aug 10, 2020
…1846)

* feat(graphql-migrations): add support for composite unique columns

Fixes #1658

* Update docs/graphql-migrations/db-design.md

Co-authored-by: Enda <ephelan@redhat.com>

Co-authored-by: Enda <ephelan@redhat.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request graphql-migrations
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants