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.
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
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
3 matches
Mail list logo