From d8e410f242908e0b9206cb8fbff05259b02a935f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Sch=C3=B6lling?= Date: Sat, 22 Oct 2011 19:53:59 +0200 Subject: [PATCH] Fixed postgre queries as suggested by Pistos --- ...12215141_move_photos_to_their_own_table.rb | 51 +++++++++++++++---- 1 file changed, 42 insertions(+), 9 deletions(-) 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 63cab1734..33e3d9e55 100644 --- a/db/migrate/20111012215141_move_photos_to_their_own_table.rb +++ b/db/migrate/20111012215141_move_photos_to_their_own_table.rb @@ -20,16 +20,49 @@ class MovePhotosToTheirOwnTable < ActiveRecord::Migration end if postgres? - execute <