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

ICanBoogie / ActiveRecord / 46467590606
93%

Build:
DEFAULT BRANCH: 7.0
Ran 30 Nov 2026 04:56PM UTC
Jobs 1
Files 113
Run time 1min
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

30 Nov 2026 04:56PM UTC coverage: 92.83%. Remained the same
46467590606

push

github

olvlvl
fix(schema)!: make serials primary keys without a redundant index

A `Serial` column is unique, so using it as primary key added a `UNIQUE`
constraint, and an index, on top of the primary key. The renderers now omit
the constraint when the column is the whole primary key. In a multi-column
key the constraint remains, as MySQL needs it when the serial column isn't
the first one of the key.

A `#[Serial]` without `#[Id]` left the schema without a primary key, while
SQLite created one anyway. A serial column is now always part of the key.

`QueryTest::test_rc` relied on the order MySQL happened to return rows in,
which changed without the index.

BREAKING CHANGE: `SchemaBuilder::add_serial()` no longer takes `primary`,
and a `Serial` column that isn't marked with `#[Id]` joins the primary key.

10 of 10 new or added lines in 5 files covered. (100.0%)

1955 of 2106 relevant lines covered (92.83%)

77.26 hits per line

Jobs
ID Job ID Ran Files Coverage
1 46467590606.1 30 Nov 2026 04:56PM UTC 113
92.83
GitHub Action Run
Source Files on build 46467590606
  • Tree
  • List 113
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 5f821518 on github
  • Prev Build on 7.0 (#46310292593)
  • Next Build on 7.0 (#46468250481)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc