tests: add test files for previous commit
This commit is contained in:
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;
|
||||||
Reference in New Issue
Block a user