kristiandupont / schemalint

Lint database schemas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Primary Key Rules Fail

paulgelardi opened this issue · comments

The latest version of extract-pg-schema uses the field IsPrimaryKey, but this repo uses the fieldname IsPrimary. This results in any rules dealing with Primary Keys not behaving as desired.

This affects 1 out-of-the-box rule, which will always fail, as well as the example rule, which will never fail, because of this.

Thank you, this should now be fixed!