{"action":"created","issue":{"url":"https://api.github.com/repos/aldeed/meteor-simple-schema/issues/519","repository_url":"https://api.github.com/repos/aldeed/meteor-simple-schema","labels_url":"https://api.github.com/repos/aldeed/meteor-simple-schema/issues/519/labels{/name}","comments_url":"https://api.github.com/repos/aldeed/meteor-simple-schema/issues/519/comments","events_url":"https://api.github.com/repos/aldeed/meteor-simple-schema/issues/519/events","html_url":"https://github.com/aldeed/meteor-simple-schema/issues/519","id":122566006,"number":519,"title":"Cannot $unset old field deleted from schema","user":{"login":"Firfi","id":947595,"avatar_url":"https://avatars.githubusercontent.com/u/947595?v=3","gravatar_id":"","url":"https://api.github.com/users/Firfi","html_url":"https://github.com/Firfi","followers_url":"https://api.github.com/users/Firfi/followers","following_url":"https://api.github.com/users/Firfi/following{/other_user}","gists_url":"https://api.github.com/users/Firfi/gists{/gist_id}","starred_url":"https://api.github.com/users/Firfi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Firfi/subscriptions","organizations_url":"https://api.github.com/users/Firfi/orgs","repos_url":"https://api.github.com/users/Firfi/repos","events_url":"https://api.github.com/users/Firfi/events{/privacy}","received_events_url":"https://api.github.com/users/Firfi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-16T17:54:01Z","updated_at":"2016-04-16T04:57:43Z","closed_at":"2015-12-22T18:22:55Z","body":"I had `profile.level` in my schema. I added `profile.level.songs` to schema, moved all `profile.level` from collection to `profile.levels.song` of this collection, and removed `profile.level` from schema. Now I want to delete old `profile.level` values from collection so schema don't get confused in future. However, on\r\n\r\n`...update({_id: ...}, {$unset: {'profile.level': ''}}` I get `update failed: Error: profile.level is not allowed by the schema` error message. Actually it doesn't make _any_ sense to me: I don't need profile.level in collection, in fact I want to *remove* it. Any suggestions?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/aldeed/meteor-simple-schema/issues/comments/210735641","html_url":"https://github.com/aldeed/meteor-simple-schema/issues/519#issuecomment-210735641","issue_url":"https://api.github.com/repos/aldeed/meteor-simple-schema/issues/519","id":210735641,"user":{"login":"athyuttamre","id":1485350,"avatar_url":"https://avatars.githubusercontent.com/u/1485350?v=3","gravatar_id":"","url":"https://api.github.com/users/athyuttamre","html_url":"https://github.com/athyuttamre","followers_url":"https://api.github.com/users/athyuttamre/followers","following_url":"https://api.github.com/users/athyuttamre/following{/other_user}","gists_url":"https://api.github.com/users/athyuttamre/gists{/gist_id}","starred_url":"https://api.github.com/users/athyuttamre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/athyuttamre/subscriptions","organizations_url":"https://api.github.com/users/athyuttamre/orgs","repos_url":"https://api.github.com/users/athyuttamre/repos","events_url":"https://api.github.com/users/athyuttamre/events{/privacy}","received_events_url":"https://api.github.com/users/athyuttamre/received_events","type":"User","site_admin":false},"created_at":"2016-04-16T04:57:43Z","updated_at":"2016-04-16T04:57:43Z","body":"+1 Just ran into the same problem. @aldeed when might v2 be released? In the meantime, would it be possible to update the documentation to mention this case?"}}