- # The Roundcube developers were nice enough to include
- # DBMS-specific install and upgrade scripts, so Postgres can take
- # advantage of ON DELETE triggers. Here's an example:
- #
- # ...
- # user_id integer NOT NULL
- # REFERENCES users (user_id) ON DELETE CASCADE ON UPDATE CASCADE
- #
- # This query is of course necessary with any DBMS:
+ # Thanks to the ON DELETE triggers, this will remove all child
+ # records associated with user_id too.