Docs Menu

Docs HomeAtlas Device SDK

Change an Object Model - Java SDK

On this page

  • A. Add a Property
  • B. Delete a Property
  • C. Modify a Property Type or Rename a Property
  • D. Migration Functions


You can use the RealmConfiguration.shouldDeleteRealmIfMigrationNeeded() builder method when constructing a realm to delete the realm instead of performing a migration when a migration is required. This can come in handy during development when schemas often change.

←  Relationships - Java SDKRealm Data Types - Java SDK →