خرید بک لینک

Vote count: 0

I need to remove old, empty models from a Realm Cocoa database.

There seems to be a way to do it in Java, but not in Swift. Is that correct?

If you remove a property and initiate a migration Realm will remove the corresponding column in the table. But, if you remove the model definition entirely, the migration does not remove the table.

Here's a screenshot from Realm Browser showing the empty tables I want to delete:

realm browser empty tables

asked 51 secs ago

- - , .
.

برچسب: نویسنده: استخدام کار تاريخ: شنبه 26 تير 1395 ساعت: 10:50

صفحه بندی