Fix “1072 Key column 'packageID' doesn't exist in table”