## ✅ Eugene lint report
Script name: `examples/E5/bad/1.sql`
This is a human readable SQL lint report generated by [eugene](https://github.com/kaaveland/eugene).
Keep in mind that lint rules can be ignored in the following two ways:
1. By appending comment directives like `-- eugene: ignore E123` to the SQL statement.
2. By passing `--ignore E123` on the command line.
### ✅ Statement number 1
```sql
-- 1.sql
create table prices (
id integer generated always as identity
primary key,
price int not null
)
```
## ❌ Eugene lint report
Script name: `examples/E5/bad/2.sql`
This is a human readable SQL lint report generated by [eugene](https://github.com/kaaveland/eugene).
Keep in mind that lint rules can be ignored in the following two ways:
1. By appending comment directives like `-- eugene: ignore E123` to the SQL statement.
2. By passing `--ignore E123` on the command line.
### ✅ Statement number 1
```sql
-- 2.sql
set local lock_timeout = '2s'
```
### ❌ Statement number 2
```sql
alter table prices
alter price set data type bigint
```
#### Triggered rules
##### `E5`: [Type change requiring table rewrite](https://kaveland.no/eugene/hints/E5/)
Changed type of column `price` to `pg_catalog.int8` in `.prices`. This operation requires a full table rewrite with `AccessExclusiveLock` if `pg_catalog.int8` is not binary compatible with the previous type of `price`. Prefer adding a new column with the new type, then dropping/renaming..