Repair powa_getstatdata_sample_db after update on 1.2 (new per database tables)