{"action":"closed","issue":{"url":"https://api.github.com/repos/Kademi/kademi-dev/issues/1508","repository_url":"https://api.github.com/repos/Kademi/kademi-dev","labels_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/1508/labels{/name}","comments_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/1508/comments","events_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/1508/events","html_url":"https://github.com/Kademi/kademi-dev/issues/1508","id":141473975,"number":1508,"title":"Custom Apps: Add a way to run JS in the background","user":{"login":"tuzzmaniandevil","id":3378330,"avatar_url":"https://avatars.githubusercontent.com/u/3378330?v=3","gravatar_id":"","url":"https://api.github.com/users/tuzzmaniandevil","html_url":"https://github.com/tuzzmaniandevil","followers_url":"https://api.github.com/users/tuzzmaniandevil/followers","following_url":"https://api.github.com/users/tuzzmaniandevil/following{/other_user}","gists_url":"https://api.github.com/users/tuzzmaniandevil/gists{/gist_id}","starred_url":"https://api.github.com/users/tuzzmaniandevil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuzzmaniandevil/subscriptions","organizations_url":"https://api.github.com/users/tuzzmaniandevil/orgs","repos_url":"https://api.github.com/users/tuzzmaniandevil/repos","events_url":"https://api.github.com/users/tuzzmaniandevil/events{/privacy}","received_events_url":"https://api.github.com/users/tuzzmaniandevil/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Kademi/kademi-dev/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"tuzzmaniandevil","id":3378330,"avatar_url":"https://avatars.githubusercontent.com/u/3378330?v=3","gravatar_id":"","url":"https://api.github.com/users/tuzzmaniandevil","html_url":"https://github.com/tuzzmaniandevil","followers_url":"https://api.github.com/users/tuzzmaniandevil/followers","following_url":"https://api.github.com/users/tuzzmaniandevil/following{/other_user}","gists_url":"https://api.github.com/users/tuzzmaniandevil/gists{/gist_id}","starred_url":"https://api.github.com/users/tuzzmaniandevil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuzzmaniandevil/subscriptions","organizations_url":"https://api.github.com/users/tuzzmaniandevil/orgs","repos_url":"https://api.github.com/users/tuzzmaniandevil/repos","events_url":"https://api.github.com/users/tuzzmaniandevil/events{/privacy}","received_events_url":"https://api.github.com/users/tuzzmaniandevil/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Kademi/kademi-dev/milestones/185","html_url":"https://github.com/Kademi/kademi-dev/milestones/Newcastle","labels_url":"https://api.github.com/repos/Kademi/kademi-dev/milestones/185/labels","id":1641409,"number":185,"title":"Newcastle","description":"New Tables\r\n- JsSchedule\r\n```\r\nCREATE TABLE js_schedule\r\n(\r\n  id bigint NOT NULL,\r\n  delay bigint NOT NULL,\r\n  func character varying(255),\r\n  next_due_date timestamp without time zone,\r\n  schedule_type integer,\r\n  organisation bigint,\r\n  repository bigint,\r\n  CONSTRAINT js_schedule_pkey PRIMARY KEY (id),\r\n  CONSTRAINT fk_8xkj8aaw4kn8igo2613v3yo6r FOREIGN KEY (repository)\r\n      REFERENCES repository (id) MATCH SIMPLE\r\n      ON UPDATE NO ACTION ON DELETE NO ACTION,\r\n  CONSTRAINT fk_in6wgigylfpkrd1pgvd9k4c92 FOREIGN KEY (organisation)\r\n      REFERENCES org_entity (id) MATCH SIMPLE\r\n      ON UPDATE NO ACTION ON DELETE NO ACTION\r\n)\r\nWITH (\r\n  OIDS=FALSE\r\n);\r\nALTER TABLE js_schedule\r\n  OWNER TO postgres;\r\n```\r\n\r\nTables to be removed\r\n- JsTimerInterval","creator":{"login":"bradmac","id":826458,"avatar_url":"https://avatars.githubusercontent.com/u/826458?v=3","gravatar_id":"","url":"https://api.github.com/users/bradmac","html_url":"https://github.com/bradmac","followers_url":"https://api.github.com/users/bradmac/followers","following_url":"https://api.github.com/users/bradmac/following{/other_user}","gists_url":"https://api.github.com/users/bradmac/gists{/gist_id}","starred_url":"https://api.github.com/users/bradmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradmac/subscriptions","organizations_url":"https://api.github.com/users/bradmac/orgs","repos_url":"https://api.github.com/users/bradmac/repos","events_url":"https://api.github.com/users/bradmac/events{/privacy}","received_events_url":"https://api.github.com/users/bradmac/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":18,"state":"open","created_at":"2016-03-13T20:03:02Z","updated_at":"2016-03-17T05:16:49Z","due_on":"2016-03-18T11:00:00Z","closed_at":null},"comments":0,"created_at":"2016-03-17T04:08:14Z","updated_at":"2016-03-17T05:16:49Z","closed_at":"2016-03-17T05:16:49Z","body":"This is good for processing large amounts of data or tasks that might take a while"}}