adjust the schema for access_record table