The table AP_Rundata should contain information about last run and in what environment the database was used. But it is not updated.