{"push_id":1201061130,"size":1,"distinct_size":1,"ref":"refs/heads/trials-documents","head":"0ec839e40270b8482365c1f9fa6767ebdad9da92","before":"81c78c626383bf96b32880c43031f310e45b3d33","commits":[{"sha":"0ec839e40270b8482365c1f9fa6767ebdad9da92","author":{"name":"Vitor Baptista","email":"3472e221088649a8dcf39b26c2eac079621213a2@vitorbaptista.com"},"message":"[#254] Returns documents and change relationship between it and trials\n\nWe had a `trials_documents` table to generate a many-to-many relationship\nbetween trials and documents. However, a single document can't cite multiple\ntrials (AFAIK), so we can simplify that to a 1-to-many relationship. This means\nwe can remove the `trials_documents` table.\n\nI also removed the `documents.slug` column, as we're not using it, and added\nthe `type` (e.g. csr, epar_segment, ...) and `url` columns. For now, the trials\nendpoint returns an array of these documents with their `name`, `type` and\n`url`.\n\nopentrials/opentrials#254","distinct":true,"url":"https://api.github.com/repos/opentrials/api/commits/0ec839e40270b8482365c1f9fa6767ebdad9da92"}]}
{"actor":{"display_login":"vitorbaptista"}}