hiberlite icon indicating copy to clipboard operation
hiberlite copied to clipboard

schema changes

Open wtholliday opened this issue 9 years ago • 4 comments

For Core Data, there's an entire programming guide for data migration and versioning:

https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/CoreDataVersioning/Articles/Introduction.html#//apple_ref/doc/uid/TP40004399-CH1-SW1

Does hiberlite support any sort of data migration between schemas? What sort of approach should I take when (inevitably) the schema changes?

wtholliday avatar Mar 30 '15 15:03 wtholliday

I don't think this feature belongs into anything with a name *lite

d-led avatar Mar 31 '15 09:03 d-led

Fair enough, but what does one do when the schema inevitably changes?

wtholliday avatar Mar 31 '15 16:03 wtholliday

I'd go for the documentation of big frameworks and other links

d-led avatar Mar 31 '15 21:03 d-led

Addition of fields and tables is handled automatically by hiberlite. Everything else you'd have to do using raw SQL.

cnlier avatar Apr 01 '15 06:04 cnlier