From fe6f587d4d2922ca3007b5a4dbd2d363cce87ecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Tue, 12 Apr 2016 17:04:04 +0200 Subject: [PATCH] continues with other migrations if we can't delete the 'user_firsts' table --- db/migrate/20160407160756_remove_user_firsts.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/db/migrate/20160407160756_remove_user_firsts.rb b/db/migrate/20160407160756_remove_user_firsts.rb index 2fda4c75f8e..dfbd230442c 100644 --- a/db/migrate/20160407160756_remove_user_firsts.rb +++ b/db/migrate/20160407160756_remove_user_firsts.rb @@ -1,5 +1,8 @@ class RemoveUserFirsts < ActiveRecord::Migration def up drop_table :user_firsts + rescue + # continues with other migrations if we can't delete that table + nil end end