{"action":"closed","issue":{"url":"https://api.github.com/repos/vertigo17/Cerberus/issues/565","repository_url":"https://api.github.com/repos/vertigo17/Cerberus","labels_url":"https://api.github.com/repos/vertigo17/Cerberus/issues/565/labels{/name}","comments_url":"https://api.github.com/repos/vertigo17/Cerberus/issues/565/comments","events_url":"https://api.github.com/repos/vertigo17/Cerberus/issues/565/events","html_url":"https://github.com/vertigo17/Cerberus/issues/565","id":98958988,"number":565,"title":"Create a purge database service.","user":{"login":"vertigo17","id":5342048,"avatar_url":"https://avatars.githubusercontent.com/u/5342048?v=3","gravatar_id":"","url":"https://api.github.com/users/vertigo17","html_url":"https://github.com/vertigo17","followers_url":"https://api.github.com/users/vertigo17/followers","following_url":"https://api.github.com/users/vertigo17/following{/other_user}","gists_url":"https://api.github.com/users/vertigo17/gists{/gist_id}","starred_url":"https://api.github.com/users/vertigo17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vertigo17/subscriptions","organizations_url":"https://api.github.com/users/vertigo17/orgs","repos_url":"https://api.github.com/users/vertigo17/repos","events_url":"https://api.github.com/users/vertigo17/events{/privacy}","received_events_url":"https://api.github.com/users/vertigo17/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vertigo17/Cerberus/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-04T12:43:50Z","updated_at":"2016-03-20T12:56:04Z","closed_at":"2016-03-20T12:56:03Z","body":"We could create a service that purge all the necessary tables of the database.\r\nWe today use a script that I put in tools folder but the service integrated to the application is a better way to integrate it.\r\nWe could create 1 parameter per table to specify the horizon of the purge (in days).\r\nThe result of the purge would feed the log table to confirm the volume purged and if everything executed properly. "}}