mogol / flutter_realm

Realm via Platform Channels
https://pub.dev/packages/flutter_realm
MIT License
115 stars 18 forks source link

Add support for migrations #6

Open swaffoja opened 5 years ago

swaffoja commented 5 years ago

Do you have any thoughts on implementation for migrations? Passing schema version through the configuration is straightforward. The migration block would need to exist in native Java and ObjC host apps much like the model...

boring2 commented 4 years ago

@swaffoja So the library not support realm migrations??

swaffoja commented 4 years ago

@boring2 I do not think migrations are currently supported.

ryanbliss commented 4 years ago

Yeah this would be a really big one for most projects. Months into development this could bite you, so I definitely second this request.

gonharry commented 4 years ago

+1, if this plugin can do that it would be great.

so0602 commented 4 years ago

+2, if this plugin can do that it would be great.

swaffoja commented 4 years ago

I have abandoned hope and development effort for Realm in Flutter. Check out Moor if you are looking for an alternative. Hopefully MongoDB comes out with Realm for Flutter someday.