New Rule: require-timeout-settings
Added
-
New rule: require-timeout-settings (#671)
It's important to configure lock & statement timeouts to ensure safe migrations.
See Safety RequirementsSo the following will error:
alter table t add column c boolean;
but this is okay:
set lock_timeout = '1s'; set statement_timeout = '5s'; alter table t add column c boolean;
If you've already configured timeouts for your migrations, you can safely
ignore this rule.