Eugene 🔒 lint report of examples/E10/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 prices (
id integer generated always as identity
primary key,
price int not null
)
No checks matched for this statement. ✅
Statement number 2
SQL
create table authors (
id integer generated always as identity
primary key,
name text not null
)
No checks matched for this statement. ✅
Eugene 🔒 lint report of examples/E10/good/2.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
-- 2.sql
set local lock_timeout = '2s'
No checks matched for this statement. ✅
Statement number 2
SQL
alter table authors
add column meta jsonb
No checks matched for this statement. ✅
Eugene 🔒 lint report of examples/E10/good/3.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
-- 3.sql
set local lock_timeout = '2s'
No checks matched for this statement. ✅
Statement number 2
SQL
-- eugene: ignore E5, E4
-- causes table rewrite, but this example isnt't about that
alter table prices
alter price set data type bigint
No checks matched for this statement. ✅