views:

317

answers:

1

I have a Rails application with numbered migrations 001_..., 002_..., etc.

I have several plugins A,B,C with their own migrations 001_.., 002_... etc. How to remove the particular plugin B and clean the schema (making B plugin migrations down)

+1  A: 

if they were migrated in order A B C then migrate back to A state remove Plugin B and Plugin B's migration then migrate to current

should do the trick

ErsatzRyan
Any tips on exact steps to do? Thanks.
msorc
lets say you have migrations 001 002 003 for plugins A B C respectively and you want to remove plugin Arake db:migrate:down VERSION=001go into vender/plugins and delete plugin A directorythat should do it
ErsatzRyan