Skip to content

Commit

Permalink
fix(client): delete the reference to the enforced column in the Const…
Browse files Browse the repository at this point in the history
…raints method

64
  • Loading branch information
danvergara committed Aug 9, 2021
1 parent 3c5cfdf commit c5a31e4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ func (c *Client) Constraints(tableName string) ([][]string, []string, error) {
`tc.constraint_name`,
`tc.table_name`,
`tc.constraint_type`,
`tc.enforced`,
).
From("information_schema.table_constraints AS tc").
Where("tc.table_name = ?")
Expand Down

0 comments on commit c5a31e4

Please sign in to comment.