mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-03 10:13:42 +00:00
Thomas Goyne
ea5c47510b
Refactor schema initialization a bit
Change schema verification to operate on a pair of Schema objects rather than a Schema and a Group to eliminate some redundant work done, defer some of the work done for migrations to within the migration block to avoid doing it unnecessarily, and make passing in a custom schema in the Config when creating a Realm entirely equivalent to calling update_schema() afterwards.
Description
Languages
JavaScript
45.9%
C++
38.4%
Objective-C
3.9%
Shell
3.3%
Objective-C++
3.2%
Other
5.3%