convert old date columns
This commit is contained in:
parent
477f7b1f33
commit
e71fb3766b
|
@ -43,15 +43,13 @@ Realm::Config::Config(const Config& c)
|
||||||
, cache(c.cache)
|
, cache(c.cache)
|
||||||
, disable_format_upgrade(c.disable_format_upgrade)
|
, disable_format_upgrade(c.disable_format_upgrade)
|
||||||
, automatic_change_notifications(c.automatic_change_notifications)
|
, automatic_change_notifications(c.automatic_change_notifications)
|
||||||
, upgrade_final_version(0)
|
|
||||||
, upgrade_initial_version(0)
|
|
||||||
{
|
{
|
||||||
if (c.schema) {
|
if (c.schema) {
|
||||||
schema = std::make_unique<Schema>(*c.schema);
|
schema = std::make_unique<Schema>(*c.schema);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Realm::Config::Config() : schema_version(ObjectStore::NotVersioned), upgrade_initial_version(0), upgrade_final_version(0) { }
|
Realm::Config::Config() : schema_version(ObjectStore::NotVersioned) { }
|
||||||
Realm::Config::Config(Config&&) = default;
|
Realm::Config::Config(Config&&) = default;
|
||||||
Realm::Config::~Config() = default;
|
Realm::Config::~Config() = default;
|
||||||
|
|
||||||
|
|
|
@ -82,9 +82,9 @@ namespace realm {
|
||||||
// everything can be done deterministically on one thread, and
|
// everything can be done deterministically on one thread, and
|
||||||
// speeds up tests that don't need notifications.
|
// speeds up tests that don't need notifications.
|
||||||
bool automatic_change_notifications = true;
|
bool automatic_change_notifications = true;
|
||||||
// File format versions populated when a file format updrade takes place
|
// File format versions populated when a file format upgrade takes place
|
||||||
// during realm opening
|
// during realm opening
|
||||||
int upgrade_initial_version, upgrade_final_version;
|
int upgrade_initial_version = 0, upgrade_final_version = 0;
|
||||||
|
|
||||||
Config();
|
Config();
|
||||||
Config(Config&&);
|
Config(Config&&);
|
||||||
|
|
Loading…
Reference in New Issue