SlackBuilds Repository

15.0 > Development > dbmate (2.38.2)

Dbmate is a lightweight, framework-independent database migration tool.
It uses plain SQL migrations and supports PostgreSQL, MySQL, MariaDB,
SQLite, ClickHouse, and BigQuery.

Requires google-go-lang (Go 1.26 or newer) at build time. The SlackBuild
compiles offline using the supplied vendor archive. SQLite support is
included and uses cgo.

Set DATABASE_URL in the environment or a project-local .env file, then
use "dbmate new migration_name" to create a migration and "dbmate up"
to apply it. See /usr/doc/dbmate-<version>/README.md for usage.

Schema dumps require the appropriate database client in PATH: sqlite3
for SQLite, mariadb-dump or mysqldump for MySQL/MariaDB, or pg_dump for
PostgreSQL. SQLite and MariaDB clients are included in Slackware.
PostgreSQL clients are available from the optional postgresql package:
https://slackbuilds.org/apps/postgresql/
Use a dump client compatible with the database server. To disable
automatic schema dumps, pass --no-dump-schema before the command.

This requires: google-go-lang

Maintained by: Moletastic
Keywords: mysql,sqlite,database,migration,postgresql
ChangeLog: dbmate

Homepage:
https://github.com/amacneil/dbmate

Source Downloads:
dbmate-2.38.2.tar.gz (a437bfaf340d5c834d93f3a0ae56e34c)
dbmate-2.38.2-vendor.tar.gz (c857038176b423a542486082f8d35872)

Download SlackBuild:
dbmate.tar.gz
dbmate.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Individual Files:
• README
• dbmate.SlackBuild
• dbmate.info
• slack-desc

Validated for Slackware 15.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2026 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds