AlexDenisov / iActiveRecord

ActiveRecord for iOS without CoreData, only SQLite
http://alexdenisov.github.com/iActiveRecord/
MIT License
354 stars 50 forks source link

Alters #2

Closed stoprocent closed 12 years ago

stoprocent commented 12 years ago

Would be nice to implement alters for tables so if u want to add new field it will not kill database. Simple scenario: User have app installed and data is stored in documents dir. You releasing an update with few extra fields in Users table.

AlexDenisov commented 12 years ago

This is the next issue on my list. :) Now I'm working on dependencies: destroy, nullify, restrict. So migrations will be implemented in the near future.

AlexDenisov commented 12 years ago

Partially solved: you can add new record or new property to existed record, without loss of data.