{"repo":"raoptimus/db-migrator.go","free":true,"listed":false,"github":"https://github.com/raoptimus/db-migrator.go","clone":"git clone https://github.com/raoptimus/db-migrator.go.git","description":"DB migrations. CLI and Golang","language":"Go","stars":19,"topics":["database-migrations","postgres","clickhouse","migrations","migration-tool","database-version-control","migrates","mysql","clickhouse-migration","database-migration"],"license":"BSD-3-Clause","category":"databases-storage","readme_excerpt":"db-migrator.go Database Migration tool in CLI on Golang that allows you to keep track of database changes in terms of database migrations which are version-controlled. The db migration tool currently supports the following db drivers: - clickhouse - postgres - mysql - tarantool db - apache iceberg (via REST Catalog) Installation Homebrew (macOS / Linux) Debian / Ubuntu (.deb) RHEL / Fedora (.rpm) and Alpine (.apk) Download the matching .rpm / .apk from the latest release and install with rpm -i / apk add --allow-untrusted . Pre-built binaries Grab a tar.gz (or .zip for Windows) for your OS/arch from the releases page, extract it, and put db-migrator on your PATH . Go install Docker Helm (Kubernetes) See the reusable chart in charts/db-migrator . Database Connection Examples PostgreSQL MySQL ClickHouse Tarantool Apache Iceberg (REST Catalog) Iceberg uses a REST Catalog endpoint instead of a direct database connection. The DSN format is iceberg://host:port/ ? [& ] . Bearer token authentication: OAuth2 client-credentials authentication: DSN parameters: Parameter Description ----------- ------------- token= Bearer token auth (mutually exclusive with credential ) credential= OAuth2 client credentials (requires oauth2 server uri ) oauth2 server uri= OAuth2 token endpoint URL scope= OAuth2 scope (optional, used with credential ) prefix= Catalog path prefix (optional) secure=true or sslmode=require Use HTTPS (default: HTTP) s3.endpoint= S3/MinIO endpoint URL s3.access-key-id= S3/MinI","default_branch":null,"files":null,"tree":[],"storefront":"/r/raoptimus","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/raoptimus/db-migrator.go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}