Skip to content

Commit

Permalink
fix: connections unique clause should have namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra committed Nov 16, 2023
1 parent 1057f18 commit b9d3f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schema/connections.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ table "connections" {
}
index "connections_name_type_key" {
unique = true
columns = [column.type, column.name]
columns = [column.type, column.name, column.namespace]
}
foreign_key "connections_created_by_fkey" {
columns = [column.created_by]
Expand Down

0 comments on commit b9d3f87

Please sign in to comment.