diff --git a/.gitignore b/.gitignore index f8a492f0..8f7c6e1c 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ *.zip *.realm *.realm.lock +*.management/ # core core diff --git a/src/js_realm.hpp b/src/js_realm.hpp index 200cab4e..515b5af8 100644 --- a/src/js_realm.hpp +++ b/src/js_realm.hpp @@ -254,7 +254,7 @@ inline typename T::Function Realm::create_constructor(ContextType ctx) { return realm_constructor; } -void convert_outdated_datetime_columns(SharedRealm realm) { +static void convert_outdated_datetime_columns(SharedRealm realm) { if (realm->config().upgrade_initial_version != realm->config().upgrade_final_version && realm->config().upgrade_initial_version < 5) { // any versions earlier than file format 5 are stored as milliseconds and need to be converted to the new format