• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

opentrials / api / 328
94%
master: 92%

Build:
Build:
LAST BUILD BRANCH: v1.1.1
DEFAULT BRANCH: master
Ran 12 Jul 2016 05:15PM UTC
Jobs 1
Files 24
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
328

push

travis-ci

vitorbaptista
[#254] Returns documents and change relationship between it and trials

We had a `trials_documents` table to generate a many-to-many relationship
between trials and documents. However, a single document can't cite multiple
trials (AFAIK), so we can simplify that to a 1-to-many relationship. This means
we can remove the `trials_documents` table.

I also removed the `documents.slug` column, as we're not using it, and added
the `type` (e.g. csr, epar_segment, ...) and `url` columns. For now, the trials
endpoint returns an array of these documents with their `name`, `type` and
`url`.

320 of 342 relevant lines covered (93.57%)

32.58 hits per line

Jobs
ID Job ID Ran Files Coverage
1 328.1 12 Jul 2016 05:15PM UTC 0
93.57
Travis Job 328.1
Source Files on build 328
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #328
  • a07ff5ac on github
  • Prev Build on trials-documents (#325)
  • Next Build on trials-documents (#329)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc