Include the database configuration in activerecord notifications.

In some cases it is useful to have the database configuration in an activerecord
notification to initiate an independent connection to the database.