Re: [Rails] Will rake db:migrate:down VERSION=XXX completely remove that migration from Rails?

2010-04-07 Thread Rick DeNatale
On Tue, Apr 6, 2010 at 11:29 PM, Ryan Waldron wrote: > You'll also need to remove that migration's entry from the > 'schema_migrations' table.  That's how Rails keeps up with what > migrations exist, and whether it's done them all. Running rake db:migrate:down VERSION=XXX should remove the entry.

Re: [Rails] Will rake db:migrate:down VERSION=XXX completely remove that migration from Rails?

2010-04-06 Thread Ryan Waldron
You'll also need to remove that migration's entry from the 'schema_migrations' table. That's how Rails keeps up with what migrations exist, and whether it's done them all. On Tue, Apr 6, 2010 at 10:10 PM, GoodGets wrote: > What exactly does rake db:migrate:down VERSION=XXX do?  I understand > th

[Rails] Will rake db:migrate:down VERSION=XXX completely remove that migration from Rails?

2010-04-06 Thread GoodGets
What exactly does rake db:migrate:down VERSION=XXX do? I understand that it runs the "down" migration, completely removing any columns/ tables that migration may have created, but does this mean that I can can delete these migration files as well? I'd like for Rails to have no knowledge of their