✅ Eugene lint report
Script name: examples/E11/bad/1.sql
This is a human readable SQL lint report generated by eugene. Keep in mind that lint rules can be ignored in the following two ways:
- By appending comment directives like
-- eugene: ignore E123to the SQL statement. - By passing
--ignore E123on the command line.
✅ Statement number 1
-- 1.sql
create table prices (
price int not null
)
❌ Eugene lint report
Script name: examples/E11/bad/2.sql
This is a human readable SQL lint report generated by eugene. Keep in mind that lint rules can be ignored in the following two ways:
- By appending comment directives like
-- eugene: ignore E123to the SQL statement. - By passing
--ignore E123on the command line.
✅ Statement number 1
-- 2.sql
set local lock_timeout = '2s'
❌ Statement number 2
alter table prices
add column id serial
Triggered rules
E11: Adding a SERIAL or GENERATED ... STORED column
Added column id with type that will force table rewrite in .prices. serial types and GENERATED ALWAYS as ... STORED columns require a full table rewrite with AccessExclusiveLock.