Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Schema changes on the iphone, migrations?

#41

What happens when the schema changes on the iphone?

Should migrations be implicit when the class definition changes? What about deleting or renaming columns?

Reported by Tys von Gaza · February 10th, 2009 @ 05:13 PM

State: new
Milestone: none
Assigned to: nobody

Activity

  1. Joshua Vickery
    Joshua Vickery
    • Tag changed from database, migrations, schema to database, migrations, objectiverecord, schema

    Thanks for creating this ticket Tys - I see from my comment on the blog that I never actually created the ticket.

    From my blog comment:

    My current thought is that tables can be auto-created, and columns can be
    auto added, but column deletion and renaming, as well as more complex 
    operations, will need explicit migrations.
    
    
    One option would be to use SQL files to handle this, another might be 
    to port the Rails migration DSL to objective C (minus the general Ruby support).
    
    

    February 10th, 2009 @ 06:04 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.