{"action":"created","issue":{"url":"https://api.github.com/repos/satyan/sugar/issues/217","labels_url":"https://api.github.com/repos/satyan/sugar/issues/217/labels{/name}","comments_url":"https://api.github.com/repos/satyan/sugar/issues/217/comments","events_url":"https://api.github.com/repos/satyan/sugar/issues/217/events","html_url":"https://github.com/satyan/sugar/issues/217","id":52529428,"number":217,"title":"Error after publishing to play store","user":{"login":"MohammadGabr","id":10072818,"avatar_url":"https://avatars.githubusercontent.com/u/10072818?v=3","gravatar_id":"","url":"https://api.github.com/users/MohammadGabr","html_url":"https://github.com/MohammadGabr","followers_url":"https://api.github.com/users/MohammadGabr/followers","following_url":"https://api.github.com/users/MohammadGabr/following{/other_user}","gists_url":"https://api.github.com/users/MohammadGabr/gists{/gist_id}","starred_url":"https://api.github.com/users/MohammadGabr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MohammadGabr/subscriptions","organizations_url":"https://api.github.com/users/MohammadGabr/orgs","repos_url":"https://api.github.com/users/MohammadGabr/repos","events_url":"https://api.github.com/users/MohammadGabr/events{/privacy}","received_events_url":"https://api.github.com/users/MohammadGabr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-12-19T21:15:12Z","updated_at":"2015-02-26T15:30:02Z","closed_at":"2014-12-25T05:16:43Z","body":"I use SugarORM and while i am testing the application it works fine on the emulator and my mobile phone.\r\n\r\nBut after I published it to the play store and tested it from mobile after I install it from the play. it gives me the following error\r\n\r\nandroid.database.sqlite.SQLiteException: no such column: Category: , while compiling: SELECT * FROM F WHERE Category = ?\r\n\r\nit is generated from the following line\r\n\r\nCustomUnit.find(CustomUnit.class, \"Category = ?\", Category);\r\n\r\nand here is the definition of the class \r\npublic class CustomUnit extends SugarRecord<CustomUnit>\r\n{\r\n    public long ID;\r\n    public String Name;\r\n    public float Value;\r\n    public String BaseUOM;\r\n    public String Category;\r\n}\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/satyan/sugar/issues/comments/76197800","html_url":"https://github.com/satyan/sugar/issues/217#issuecomment-76197800","issue_url":"https://api.github.com/repos/satyan/sugar/issues/217","id":76197800,"user":{"login":"mouhsinelonly","id":514711,"avatar_url":"https://avatars.githubusercontent.com/u/514711?v=3","gravatar_id":"","url":"https://api.github.com/users/mouhsinelonly","html_url":"https://github.com/mouhsinelonly","followers_url":"https://api.github.com/users/mouhsinelonly/followers","following_url":"https://api.github.com/users/mouhsinelonly/following{/other_user}","gists_url":"https://api.github.com/users/mouhsinelonly/gists{/gist_id}","starred_url":"https://api.github.com/users/mouhsinelonly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mouhsinelonly/subscriptions","organizations_url":"https://api.github.com/users/mouhsinelonly/orgs","repos_url":"https://api.github.com/users/mouhsinelonly/repos","events_url":"https://api.github.com/users/mouhsinelonly/events{/privacy}","received_events_url":"https://api.github.com/users/mouhsinelonly/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T15:30:02Z","updated_at":"2015-02-26T15:30:02Z","body":"i'm facing the same problem when using progurad can any one help ?"}}