Skip to content

Commit

Permalink
Update docs with deprecation notice (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-farries authored Nov 28, 2024
1 parent d1daf8f commit 434cf36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1210,6 +1210,8 @@ Example **drop column** migrations:

### Drop constraint

:warning: The **drop constraint** operation is deprecated. Please use the [drop multi-column constraint](#drop-multi-column-constraint) operation instead. The **drop_constraint** operation will be removed in a future release of `pgroll`. :warning:

A drop constraint operation drops a single-column constraint from an existing table.

Only `CHECK`, `FOREIGN KEY`, and `UNIQUE` constraints can be dropped.
Expand Down

0 comments on commit 434cf36

Please sign in to comment.