Schema changes on the iphone, migrations?
Reported by Tys von Gaza | February 10th, 2009 @ 05:13 PM
What happens when the schema changes on the iphone?
Should migrations be implicit when the class definition changes? What about deleting or renaming columns?
Comments and changes to this ticket
-
Joshua Vickery February 10th, 2009 @ 06:04 PM
- 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).
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Port of Rails' ActiveResource framework to the iPhone.
People watching this ticket
- Nobody is watching this ticket.