Change data structure of notifications and reset migrations

@rmutter take a look