I'm using sqlite.
It seems to be renaming the column and adding it again as seen in the
output below but as far as I can tell there are no errors during
migration.
== ConvertTodoToStateMachine: migrating =======================================
-- add_column(:todos, :state, :string, {:null=>false,
:default=>"immediate", :limit=>20})
-> 0.0477s
-- rename_column(:todos, :completed, :completed_at)
-> 1.8018s
-- remove_column(:todos, :done)
-> 1.9843s
-- remove_column(:todos, :type)
-> 1.5375s
== ConvertTodoToStateMachine: migrated (20.8127s) =============================
== AddProjectCompletedAtColumn: migrating =====================================
-- add_column(:projects, :completed_at, :datetime)
-> 0.0952s
== AddProjectCompletedAtColumn: migrated (0.1920s) ============================
Thanks,
Mohammed Firdaus
On Sun, Apr 6, 2008 at 8:34 PM, Reinier Balt <[EMAIL PROTECTED]> wrote:
> No, this should not happen. Did you see any errors when you
> upgraded with rake db:migrate? I can only imagine that it happened
> with migration 19 where the completed column is renamed to completed_at
>
> What database are you using?
>
> Reinier
>
>
> > -----Oorspronkelijk bericht-----
> > Van: [EMAIL PROTECTED] [mailto:tracks-
> > [EMAIL PROTECTED] Namens Mohammed Firdaus
> > Verzonden: zondag 6 april 2008 12:02
> > Aan: [email protected]
> > Onderwerp: Re: [Tracks-discuss] All hail release 1.5
>
>
> >
> > Does upgrading remove the completion date of todo items? I seem to
> > have lost everything under "Done" when upgrading to 1.5 from 1.043.
> >
> > Thanks,
> >
> > Mohammed Firdaus
> >
> > On Mon, Mar 31, 2008 at 1:48 PM, S K <[EMAIL PROTECTED]> wrote:
> > > Looks like release 1.5 is officially out with a shiny updated
> > homepage
> > > (http://www.rousette.org.uk/projects/). Congrats to all involved,
> > especially bsag, Luke Melia and
> > > Reinier Balt. Thanks for all the great work.
> > >
> > > Now, someone should drop a note to Lifehacker etc.
> > >
> > > SK
> > >
> > >
> > >
> > > __________________________________________________________
> > > Sent from Yahoo! Mail.
> > > A Smarter Inbox http://uk.docs.yahoo.com/nowyoucan.html
> > > _______________________________________________
> > > Tracks-discuss mailing list
> > > [email protected]
> > > http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
> > >
> > _______________________________________________
> > Tracks-discuss mailing list
> > [email protected]
> > http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
>
>
_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss