Creating an Inactivity row in App table with zero ID just after creating the table itself