tests: add test files for previous commit
This commit is contained in:
parent
2ac9d8e775
commit
a6cbbd3b39
3
pkg/schema/lint/test_schemas/failure-missing-rowid.sql
Normal file
3
pkg/schema/lint/test_schemas/failure-missing-rowid.sql
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
create table missing_rowid (
|
||||||
|
a integer primary key
|
||||||
|
) strict;
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
create table non_integer_rowid (
|
||||||
|
rowid text primary key,
|
||||||
|
a integer not null
|
||||||
|
) strict;
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
create table withrowidbutnotprimarykey (
|
||||||
|
rowid integer not null,
|
||||||
|
a integer primary key
|
||||||
|
) strict;
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
create table weirdrowid (
|
||||||
|
rowid integer primary key,
|
||||||
|
a integer not null
|
||||||
|
) strict, without rowid;
|
||||||
Loading…
x
Reference in New Issue
Block a user