Const
The live product_activation_rule_version per rule: the newest whose effectiveFrom has passed, ties to the higher id, and no row when that one is DISABLED. SQL in 20261009500000_rule_effective_version_disabled_wins.sql.
product_activation_rule_version
effectiveFrom
id
20261009500000_rule_effective_version_disabled_wins.sql
The live
product_activation_rule_versionper rule: the newest whoseeffectiveFromhas passed, ties to the higherid, and no row when that one is DISABLED. SQL in20261009500000_rule_effective_version_disabled_wins.sql.