mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-11 14:54:33 +00:00
Fix wrong schema definition (#1946)
This commit is contained in:
parent
5df1d7b38a
commit
95472a5cd3
21
CHANGELOG.md
21
CHANGELOG.md
@ -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
|
||||
|
@ -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[]'
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user