CREATE TABLE tmp_public_galley_ids AS SELECT galley_id, public_galley_id FROM article_galleys DROP INDEX article_galleys_article_id