WildAid / o-fish-realm

Realm application code and sample data for the Officer's Fishery Information Sharing Hub (O-FISH). The mobile app allows fisheries officers to document and share critical information gathered during a routine vessel inspection. The web app allows agencies to gain insights from the aggregated information.
Apache License 2.0
23 stars 9 forks source link

strategy=replace complains of duplicates #147

Closed o-fish-wildaid closed 2 years ago

o-fish-wildaid commented 4 years ago

A community member was trying to do a realm import with the command: ealm-cli import --strategy=replace --include-dependencies --app-id=the_app_id and got: failed to diff app with currently deployed instance: error: must specify unique names when importing MongoDB Rules; duplicate name: wildaid.MenuData

Let's investigate whether or not this is expected and if there's a different way we should export the realm template for importing.

This is important for being able to update exisiting Realm code.

Sheeri commented 2 years ago

The import of realm functions has been much improved in current versions.