Fix wrong schema definition (#1946)

This commit is contained in:
Christian Melchior 2018-08-06 15:35:26 +02:00 committed by GitHub
parent 5df1d7b38a
commit 95472a5cd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 2 deletions

View File

@ -1,3 +1,24 @@
2.14.1 Release notes (YYYY-MM-DD)
=============================================================
### Compatibility
* Sync protocol: 24
* Server-side history format: 4
* File format: 7
* Realm Object Server: 3.0.0 or later
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
* [Sync] The schema definition for `permissionsSchema.Class` defined a `class_name` property instead of `name` (#1942).
### Internals
* Upgraded to Realm Core v5.7.2.
* Upgraded to Realm Sync v3.8.3.
2.14.0 Release notes (2018-7-24)
=============================================================
### Compatibility

View File

@ -285,9 +285,9 @@ module.exports = function(realmConstructor) {
permissionsSchema.Class.schema = Object.freeze({
name: '__Class',
primaryKey: 'class_name',
primaryKey: 'name',
properties: {
class_name: 'string',
name: 'string',
permissions: '__Permission[]'
}
});