From afe8ee98893a4a17a3f058737031979a2a0731b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Sch=C3=B6lling?= Date: Sat, 22 Oct 2011 19:10:29 +0200 Subject: [PATCH] Fixed INSERT statement --- db/migrate/20111012215141_move_photos_to_their_own_table.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20111012215141_move_photos_to_their_own_table.rb b/db/migrate/20111012215141_move_photos_to_their_own_table.rb index 21dedf0cf..63cab1734 100644 --- a/db/migrate/20111012215141_move_photos_to_their_own_table.rb +++ b/db/migrate/20111012215141_move_photos_to_their_own_table.rb @@ -52,7 +52,7 @@ SQL if postgres? execute %{ INSERT INTO posts ( - tmp_old_id AS id, author_id, public, diaspora_handle, guid, pending, type, text, + tmp_old_id, author_id, public, diaspora_handle, guid, pending, type, text, remote_photo_path, remote_photo_name, random_string, processed_image, youtube_titles, created_at, updated_at, unprocessed_image, object_url, image_url, image_height, image_width,