finished collector insert/upsert output and added mysql table definition