On Wed, May 27, 2009 at 7:34 AM, Mk 27 <[email protected]> wrote:
> When I ran the migration, I got
>
> rake aborted!
> An error has occurred, this and all later migrations canceled:
>
> SQLite3::SQLException: table "artists" already exists: [etc]
>
> So I removed the existing, populated database (to a safe place, since I
> do not want to have to create it again unless necessary) and ran the
> rake db:migrate again...clearly there is something I don't understand
> because most sane people would want to preserve the contents of an
> existing db when they modify it.
Erm, so maybe the most appropriate ("sane") thing to do at that
point would be to figure out *why* you're (apparently) repeating a
migration that's already been done?
Just sayin' ... :-)
--
Hassan Schroeder ------------------------ [email protected]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---