Rules

Below the list of rules supported by Postgres Language Tools, divided by group. Here's a legend of the emojis:

  • The icon ✅ indicates that the rule is part of the recommended rules.

Safety

Rules that detect potential safety issues in your code.

Rule name Description Properties
addingRequiredField Adding a new column that is NOT NULL and has no default value to an existing table effectively makes it required.
banDropColumn Dropping a column may break existing clients.
banDropNotNull Dropping a NOT NULL constraint may break existing clients.
banDropTable Dropping a table may break existing clients.