Fix a bug where non-rowid primary keys would be identified as 'not indexed' for foreign key indexes rule
Some checks failed
Build / build (push) Failing after 7m1s
Build / test-action (push) Successful in 3m7s

This commit is contained in:
2025-07-31 22:35:37 -07:00
parent 740767ea11
commit dbb43567d7
3 changed files with 12 additions and 7 deletions

View File

@@ -11,3 +11,8 @@ create table stuff2 (
stuff_id integer references stuff(rowid),
alternative_stuff_id integer references stuff(amount)
) strict;
create table stuff3 (
weird_pk3 integer primary key,
stuff2_id integer not null references stuff2(weird_pk)
) strict;