sqlite_lint: add lint checks for rowid and without rowid
This commit is contained in:
@@ -10,9 +10,9 @@ create table stuff2 (
|
||||
label text not null unique,
|
||||
stuff_id integer references stuff(rowid),
|
||||
alternative_stuff_id integer references stuff(amount)
|
||||
) strict;
|
||||
) strict, without rowid;
|
||||
|
||||
create table stuff3 (
|
||||
weird_pk3 integer primary key,
|
||||
rowid integer primary key,
|
||||
stuff2_id integer not null references stuff2(weird_pk)
|
||||
) strict;
|
||||
|
||||
Reference in New Issue
Block a user