{"action":"created","issue":{"url":"https://api.github.com/repos/akhil110/Todo-App/issues/2","labels_url":"https://api.github.com/repos/akhil110/Todo-App/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/akhil110/Todo-App/issues/2/comments","events_url":"https://api.github.com/repos/akhil110/Todo-App/issues/2/events","html_url":"https://github.com/akhil110/Todo-App/issues/2","id":71866187,"number":2,"title":"I try to make another column but its not working. ","user":{"login":"jahir07","id":5499301,"avatar_url":"https://avatars.githubusercontent.com/u/5499301?v=3","gravatar_id":"","url":"https://api.github.com/users/jahir07","html_url":"https://github.com/jahir07","followers_url":"https://api.github.com/users/jahir07/followers","following_url":"https://api.github.com/users/jahir07/following{/other_user}","gists_url":"https://api.github.com/users/jahir07/gists{/gist_id}","starred_url":"https://api.github.com/users/jahir07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jahir07/subscriptions","organizations_url":"https://api.github.com/users/jahir07/orgs","repos_url":"https://api.github.com/users/jahir07/repos","events_url":"https://api.github.com/users/jahir07/events{/privacy}","received_events_url":"https://api.github.com/users/jahir07/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-29T12:46:29Z","updated_at":"2015-04-29T17:02:34Z","closed_at":null,"body":"Here is the code-- todo-service.js\r\n\r\n\r\ntx.executeSql(\"CREATE TABLE IF NOT EXISTS tasks (task_id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, task_name VARCHAR(100), task_content VARCHAR(500) )\",[]);\r\n\r\nfunction setTasks(tname, tcontent){\r\nreturn promisedQuery(\"INSERT INTO tasks(task_name, task_content) VALUES ('\" + tname +  \",\" + tcontent +  \"') \", defaultResultHandler, defaultErrorHandler);\r\n}\r\n\r\nset: function(t_name, t_content) {\r\n\treturn setTasks(t_name, t_content);\r\n},\r\n\t\r\nIn todo.js\r\n\r\n  // Called when the form is submitted\r\n  $scope.createTask = function(task) {\r\n\tSQLService.set(task.title, task.content);\r\n\t$scope.loadTask();\r\n    $scope.taskModal.hide();\r\n    task.title = \"\";\r\n  };\r\n  \r\nbut not working??\r\nby the way how can i delete sqlite database."},"comment":{"url":"https://api.github.com/repos/akhil110/Todo-App/issues/comments/97505145","html_url":"https://github.com/akhil110/Todo-App/issues/2#issuecomment-97505145","issue_url":"https://api.github.com/repos/akhil110/Todo-App/issues/2","id":97505145,"user":{"login":"jahir07","id":5499301,"avatar_url":"https://avatars.githubusercontent.com/u/5499301?v=3","gravatar_id":"","url":"https://api.github.com/users/jahir07","html_url":"https://github.com/jahir07","followers_url":"https://api.github.com/users/jahir07/followers","following_url":"https://api.github.com/users/jahir07/following{/other_user}","gists_url":"https://api.github.com/users/jahir07/gists{/gist_id}","starred_url":"https://api.github.com/users/jahir07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jahir07/subscriptions","organizations_url":"https://api.github.com/users/jahir07/orgs","repos_url":"https://api.github.com/users/jahir07/repos","events_url":"https://api.github.com/users/jahir07/events{/privacy}","received_events_url":"https://api.github.com/users/jahir07/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T17:02:34Z","updated_at":"2015-04-29T17:02:34Z","body":"Thanks its working now.. thanks a lot.. :)"}}