Sample Code:
DROP TABLE
IF EXISTS app_public.tablename CASCADE;
-- create table statement column definition
id SERIAL PRIMARY KEY,
id BIGSERIAL PRIMARY KEY,
Errors:
[error] syntax error at or near "DROP"
[error] syntax error at or near "SERIAL"
[error] syntax error at or near "BIGSERIAL"
Version Info:
DB: Postgres 14.3
❯ sql-lint --version
1.0.0