>From the error, it didn't look like the first 'rake db:drop' completely took
out everything since 'rake db:migrate' started at step 13. Don't know off
the top of my head what the reason for that would be. Do you remember
seeing any errors/warning messages?
I kind of take the direct approach when clearing out a database (drop and
create commands directly in MySQL, deleting the appropriate file in
sqlite3).
On Sat, Jun 14, 2008 at 8:54 AM, Jesse <[EMAIL PROTECTED]> wrote:
>
> 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?
> >
>
--
Long Nguyen
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---