Skip to content

Commit 434cf36

Browse files
Update docs with deprecation notice (#498)
1 parent d1daf8f commit 434cf36

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,6 +1210,8 @@ Example **drop column** migrations:
12101210

12111211
### Drop constraint
12121212

1213+
: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:
1214+
12131215
A drop constraint operation drops a single-column constraint from an existing table.
12141216

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

0 commit comments

Comments
 (0)