{"action":"opened","issue":{"url":"https://api.github.com/repos/coresmart/persistencejs/issues/195","repository_url":"https://api.github.com/repos/coresmart/persistencejs","labels_url":"https://api.github.com/repos/coresmart/persistencejs/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/coresmart/persistencejs/issues/195/comments","events_url":"https://api.github.com/repos/coresmart/persistencejs/issues/195/events","html_url":"https://github.com/coresmart/persistencejs/issues/195","id":174200867,"number":195,"title":"How to add new field ?","user":{"login":"FeiCheung","id":16416372,"avatar_url":"https://avatars.githubusercontent.com/u/16416372?v=3","gravatar_id":"","url":"https://api.github.com/users/FeiCheung","html_url":"https://github.com/FeiCheung","followers_url":"https://api.github.com/users/FeiCheung/followers","following_url":"https://api.github.com/users/FeiCheung/following{/other_user}","gists_url":"https://api.github.com/users/FeiCheung/gists{/gist_id}","starred_url":"https://api.github.com/users/FeiCheung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FeiCheung/subscriptions","organizations_url":"https://api.github.com/users/FeiCheung/orgs","repos_url":"https://api.github.com/users/FeiCheung/repos","events_url":"https://api.github.com/users/FeiCheung/events{/privacy}","received_events_url":"https://api.github.com/users/FeiCheung/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-31T07:12:53Z","updated_at":"2016-08-31T07:12:53Z","closed_at":null,"body":"my code:\r\nf (window.openDatabase) { \r\npersistence.store.websql.config(persistence, 'testdb', \r\n'My SQLite database', 5 * 1024 * 1024); \r\n} else { \r\npersistence.store.memory.config(persistence); \r\n}\r\n\r\nvar User = persistence.define('User', { \r\nname: \"TEXT\", \r\nage: \"INTEGER\"\r\n}); \r\npersistence.schemaSync();\r\n\r\nmy app's being in production I want to add a new field ‘sex’ to the 'user'schema. \r\n\r\nvar User = persistence.define('User', { \r\nname: \"TEXT\", \r\nage: \"INTEGER\",\r\nsex:\"TEXT\"\r\n}); \r\n\r\nI dont want uninstall my app , how could I add this field ?? thanks  for help\r\n"}}
{"actor":{"display_login":"FeiCheung"}}