Eugene 🔒 lint report of examples/W13/good/1.sql
This is a human readable SQL script safety report generated by eugene.
Keep in mind that lints can be ignored by adding a -- eugene: ignore E123
comment to the SQL statement
or by passing --ignore E123 on the command line.
The migration script passed all the checks ✅
Statement number 1
SQL
-- 1.sql
create table document_type(
type_name text primary key
)
No checks matched for this statement. ✅
Statement number 2
SQL
insert into document_type
values('invoice'), ('receipt'), ('other')
No checks matched for this statement. ✅
Statement number 3
SQL
create table document (
id int generated always as identity
primary key,
type text
references document_type(type_name)
)
No checks matched for this statement. ✅