Fix a bug where non-rowid primary keys would be identified as 'not indexed' for foreign key indexes rule
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user