mafia indexeddb data generation