Repository navigation
v0.1.1
A bug-fix release of the schemity command line tool and the Schemity Migration Check action.
Fixed
-
A foreign key declared inline on an added column is no longer lost. When an older migration added a column with its key in the same clause, the rebuilt schema had the column but not the key:
ALTER TABLE orders ADD COLUMN coupon_id bigint REFERENCES customers (id);
As a result, every finding that depends on that key was missing, for example
fk-no-covering-indexonorders.coupon_id. The key is now kept with its name,ON DELETEandON UPDATE, as it is forADD CONSTRAINT ... FOREIGN KEYand for a key declared insideCREATE TABLE. Fixed for every supported database.
Upgrade
Nothing to change in a workflow that uses schemity/ci@v1 with the default version: latest: the next run downloads 0.1.1. A workflow pinned to version: v0.1.0 needs version: v0.1.1.
Downloads
| File | For |
|---|---|
schemity-x86_64-unknown-linux-musl.tar.gz |
Linux x64 |
schemity-aarch64-unknown-linux-musl.tar.gz |
Linux ARM64 |
schemity-aarch64-apple-darwin.tar.gz |
macOS on Apple silicon |
Each archive holds the schemity binary, its license and the licenses of the open source software in it. SHA-256 sums are in checksums.txt.