Skip to content

v0.1.1

Choose a tag to compare

@tbson tbson released this 17 Nov 10:12
· 4 commits to main since this release

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-index on orders.coupon_id. The key is now kept with its name, ON DELETE and ON UPDATE, as it is for ADD CONSTRAINT ... FOREIGN KEY and for a key declared inside CREATE 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.