# sqldef

Idempotent schema management for MySQL, PostgreSQL, SQLite, and SQL Server

Canonical page: https://www.reposhelf.co.uk/projects/github/sqldef/sqldef.html

- Project ID: sqldef/sqldef
- Source: GitHub
- Original project: https://github.com/sqldef/sqldef
- Description attribution: project author metadata
- Categories: Developer tools
- Technologies: Go
- Licence: No licence detected
- Repository availability checked: 2026-11-05T15:28:13.048Z
- Demo page loaded: 2026-11-06T01:14:51.931Z

No recognised licence was detected in the saved metadata. A public repository does not automatically grant permission to reuse its code. Review the repository terms before reusing its code.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> sqldef is the easiest idempotent schema management tool for MySQL, PostgreSQL, SQLite3, and SQL Server that uses plain SQL DDLs. Define your desired schema in SQL, and sqldef generates and applies the migrations to update your database.

> With sqldef, you maintain a single SQL file with your complete schema. To modify your schema - add columns, change constraints, or create indexes - simply edit this file. sqldef compares desired against current schema and generates the appropriate DDLs, ensuring your database reaches the desired state from any starting point.

> Each database gets its own command \(mysqldef, psqldef, sqlite3def, mssqldef\) that mimics the connection options of the native database client, making it familiar and easy to integrate into existing workflows. The tool comes as a single binary with no dependencies, and provides idempotent operations that are safe to run multiple times.



## Author-documented requirements and audience

> sqldef is the easiest idempotent schema management tool for MySQL, PostgreSQL, SQLite3, and SQL Server that uses plain SQL DDLs. Define your desired schema in SQL, and sqldef generates and applies the migrations to update your database.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/sqldef/sqldef/blob/master/README.md

Extraction checked: 2026-10-25T05:02:02.675Z

Last recorded source update: 2026-11-04T14:05:13.000Z

Saved release: v3.11.26 — 2026-10-01T04:06:43.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=sqldef%2Fsqldef). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
