ALTER TABLE R_view_image ADD PRIMARY KEY (R_image_medium, data_source);

