Skip to content

Vaniog/lazymigrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lazymigrate

logo

Terminal ui for managing migrations based on golang-migrate

demo

Configuration

Now lazymigrate supports PostgreSQL, MySQL and sqlite

lazymigrate can guess connection string if you have specific fields in .env file

examples

Also it parses env variables from .lazymigrate file

You can set up config directly with variables:

LAZYMIGRATE_URL=postgres://root:root@localhost:5432/root?sslmode=disable
LAZYMIGRATE_SOURCE=migrations

Install

Releases

Or

go install github.com/Vaniog/lazymigrate

Examples

Naming based on docker images envs naming

Postgres

POSTGRES_USER=root
POSTGRES_PASSWORD=root
POSTGRES_HOST=localhost
POSTGRES_DB=root
POSTGRES_PORT=5432

MySQL

MYSQL_USER=root
MYSQL_PASSWORD=root
MYSQL_HOST=localhost
MYSQL_DATABASE=root
MYSQL_PORT=3306

Sqlite

SQLITE_DB=app.db

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published