Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

check if the table exists before droping the table

  • Loading branch information...
commit e0b50a23074ba46101e247c5e85ce23fb794d320 1 parent 8cf7170
@ricardochimal ricardochimal authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/taps/schema.rb
View
2  lib/taps/schema.rb
@@ -22,7 +22,7 @@ def up
end
def down
- drop_table(\"#{table}\")
+ drop_table(\"#{table}\") if @db.table_exists?(\"#{table}\")
end
end
END_MIG
Please sign in to comment.
Something went wrong with that request. Please try again.