Now I get error Property types for \'value\' property do not match. Old type \'float\', new type \'double\' How to clear database or migrate is successfully?
Property types for \'value\' property do not match. Old type \'float\', new type \'double\'
Whilst the other comments are right, you should really look at : https://realm.io/docs/swift/latest/#migrations
It gives a super clear explanation of how to do migration, and it's really simple, and far better deleting everything if it can be helped.