BS-9528, update database structure to take into consideration the association between pages and applications