Hacker GitHub

← All repos

sbdchd/squawk

View on GitHub ↗ ★ 1,260 Rust

🐘 Linter for Postgres migrations & SQL

5 mentions on Hacker News by 5 people: 1 story, 4 comments · first 2021-03-12 · latest 2025-03-30

Mentions per year 5 mentions · busiest year 2021 (2)
20082026
  1. Related https://github.com/sbdchd/squawk "linter for PostgreSQL, focused on migrations" It covers this class of problem I think
    comment by switch007 · 2025-03-30 · in Just write a test for it
  2. …the language server with declarative schema management and have go-to-definition etc working. [0] https://github.com/sbdchd/squawk/tree/master [1] https://github.com/okbob/plpgsql_check
  3. We've had good success with https://github.com/sbdchd/squawk to lint migrations. It tells you if a query is going to lock your table (as long as it's written in SQL, not some ORM DSL)
    comment by williamdclt · 2021-09-30 · in PostgreSQL 14
  4. @keithba I have build a - private - GitHub action around https://github.com/sbdchd/squawk - for Postgres - that lints all our migrations files on each PR. The action extract raw SQL from the codebase and pass them into squawk. It catches…
    comment by oomathias · 2021-03-12 · in GitHub was down