A more generic table that can be used to capture all events, onchain and offchain, for the user. For example, there may be a user referral tracked inside the database that should show up in the activity table. The table should be generic enough to be used for any event that is emitted by the send account contract or to represent any other event that a user may want to track and see in their activity feed.
The view will be adapted so that it can be added to the activity table.
create table activity (
id serial primary key,
event_name text not null, -- the name of the event usually the integration or source table name