How to Install and Uninstall sql-migrate Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: December 23,2024

1. Install "sql-migrate" package

Please follow the guidance below to install sql-migrate on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install sql-migrate

2. Uninstall "sql-migrate" package

Please follow the step by step instructions below to uninstall sql-migrate on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove sql-migrate $ sudo apt autoclean && sudo apt autoremove

3. Information about the sql-migrate package on Ubuntu 20.10 (Groovy Gorilla)

Package: sql-migrate
Architecture: amd64
Version: 0.0~git20191213.0633851-2
Built-Using: golang-1.14 (= 1.14.2-1ubuntu1), golang-github-armon-go-radix (= 1.0.0-1), golang-github-bgentry-speakeasy (= 0.1.0-1), golang-github-denisenkom-go-mssqldb (= 0.0~git20170717.0.8fccfc8-5), golang-github-fatih-color (= 1.7.0-1), golang-github-go-sql-driver-mysql (= 1.4.1-1), golang-github-hashicorp-errwrap (= 1.0.0-1), golang-github-hashicorp-go-multierror (= 1.0.0-1), golang-github-lib-pq (= 1.3.0-1), golang-github-mattn-go-colorable (= 0.0.9-3), golang-github-mattn-go-isatty (= 0.0.11-1), golang-github-mattn-go-runewidth (= 0.0.9-1), golang-github-mattn-go-sqlite3 (= 1.6.0~ds1-2), golang-github-mitchellh-cli (= 1.0.0-1), golang-github-olekukonko-tablewriter (= 0.0.4-1), golang-github-posener-complete (= 1.2.3-1), golang-go.crypto (= 1:0.0~git20200221.2aa609c-1), golang-golang-x-net (= 1:0.0+git20200226.491c5fc+dfsg-1), golang-golang-x-sys (= 0.0~git20200219.cb0a6d8-1), golang-gopkg-gorp.v1 (= 1.7.2-2), golang-yaml.v2 (= 2.2.8-2)
Priority: optional
Section: universe/devel
Source: golang-github-rubenv-sql-migrate
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 9726
Depends: libc6 (>= 2.4), libsqlite3-0 (>= 3.7.15)
Filename: pool/universe/g/golang-github-rubenv-sql-migrate/sql-migrate_0.0~git20191213.0633851-2_amd64.deb
Size: 2928016
MD5sum: 0109a1c5a1e4478e1b6b461987b42a20
SHA1: 41dac4087aa9b538a0f49d1a5529038eb2c51ac5
SHA256: 180cf66e9b325378cada84539a496b7238445facf37859333ea177e901f67953
SHA512: 5ce89c2d0887207e63546dca44633778c3c58ad591793e4f2c899b62f076212dc9894ce12e83dc79eea8506665b45a02d6af6b2467aea23fbf0854ba2519d586
Homepage: https://github.com/rubenv/sql-migrate
Description-en: SQL schema migration tool for Go (program)
sql-migrate is SQL Schema migration tool for Go based on gorp and goose
.
Features
• Usable as a CLI tool or as a library
• Supports SQLite, PostgreSQL, MySQL, MSSQL and Oracle databases
(through gorp)
• Can embed migrations into your application
• Migrations are defined with SQL for full flexibility
• Atomic migrations
• Up/down migrations to allow rollback
• Supports multiple database types in one project
• Works great with other libraries such as sqlx
Description-md5: 6b893ecb8abffe16f1628bdf7e8e196a