Activated the setting of events in the database.