make processed_data_id NOT NULL