Skip to content

cascade-update (CT001)#

Automatic fix is available.

What it does#

Checks for usage of cascade update.

Why not?#

In theory primary key should be static so changes that need cascading should not need to happen. If you find yourself needing this sort of cascaded updates then that is perhaps a code smell in your database design.

When should you?#

Almost never.

Use instead:#

Restrict