Show HN: Hazel – Declarative schema management for SQLite
Category: database
Tags: sqlite, schema-migration, declarative, cli-tool, database
Score: 6.8/10 (Innovation: 5, Technical: 8, Documentation: 8, Utility: 6)
Hazel is a declarative schema management CLI for SQLite that computes the DDL needed to reconcile a live database with SQL schema files. It compares schemas via in-memory databases and bytecode-level expression/trigger comparison, then emits safe ALTER TABLE statements or controlled table rebuilds. It is a technically interesting take on schema diffing for SQLite's limited ALTER support.
Target audience: backend developers, devops engineers, database administrators
Repository: https://github.com/winebarrel/hazel · Go · CC0-1.0 · 2 stars
View on Hacker News