## ✅ Eugene lint report
Script name: `examples/E5/good/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/good/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
add column new_price bigint
```
## ✅ Eugene lint report
Script name: `examples/E5/good/3.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
-- 3.sql
update prices set new_price = price :: bigint
```
### ✅ Statement number 2
```sql
set local lock_timeout = '2s'
```
### ✅ Statement number 3
```sql
alter table prices
add constraint check_new_price_not_null
check (new_price is not null) not valid
```
## ✅ Eugene lint report
Script name: `examples/E5/good/4.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
-- 4.sql
set local lock_timeout = '2s'
```
### ✅ Statement number 2
```sql
alter table prices
validate constraint check_new_price_not_null,
drop column price
```
### ✅ Statement number 3
```sql
-- eugene: ignore E4
-- this has to run in the same transaction as dropping the old price column
alter table prices
rename column new_price to price
```