It would seem that another 'rake db:drop' fixes everything.
Just when I'm beginning to foster paranoid delusions of sabotage,
destroying everything works again!
On Jun 14, 10:45 am, Jesse <[EMAIL PROTECTED]> wrote:
> Is there any good reason that this happens after a complete re-
> install?
>
> I've learned it's never too early in the day to take your and pain
> killers and benzodiazepines.
>
> On Jun 14, 10:09 am, Jesse <[EMAIL PROTECTED]> wrote:
>
> > Hello, I'm facing a barrage of migration problems. after running
> > 'rake db:drop' etc., it still fails as such..
>
> > [EMAIL PROTECTED] insoshi]$ rake db:migrate -t
> > (in /home/jess/insoshi)
> > ** Invoke db:migrate (first_time)
> > ** Invoke environment (first_time)
> > ** Execute environment
> > ** Execute db:migrate
> > == 13 AddAdmin: migrating
> > =====================================================
> > -- add_column(:people, :admin, :boolean,
> > {:default=>false, :null=>false})
> > rake aborted!
> > Mysql::Error: Duplicate column name 'admin': ALTER TABLE `people` ADD
> > `admin` tinyint(1) DEFAULT 0 NOT NULL
> > ............
>
> > I've working in the rails console to fix a similar problem, but it
> > doesn't work here.
>
> > I think it's a good question: how can I re-install the app without
> > losing my work?
>
> > I'm saving all the work to different files, and running rake install,
> > again. Is there a better way?
--~--~---------~--~----~------------~-------~--~----~
Insoshi developer site: http://dogfood.insoshi.com/
Insoshi documentation: http://docs.insoshi.com/
You received this message because you are subscribed to the Google
Groups "Insoshi" 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/insoshi?hl=en
-~----------~----~----~----~------~----~------~--~---