In case of an installation of realtime the table presenceSubscriptions might be created without a primary key and the already available update task for adding the primary key (com.openexchange.realtime.presence.subscribe.data base.AddPrimaryKeyTask) is marked as executed.

The update task com.openexchange.realtime.presence.subscribe.datab ase.AddPrimaryKeyTaskV2 will add the possibly missing primary key.