Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 1.28 KB

README.md

File metadata and controls

42 lines (32 loc) · 1.28 KB

migrate-tool

CLI tool to manage SQL migrations
Report Bug · Request Feature

About

This tool comes with sensible defaults for test projects, such as:

  • host: localhost
  • port: 3306
  • username: root
  • migrations dir: ./db/migrations

Generated files

Migration files follow the format YYYYMMDD_hhmmss_db_type.sql

  • 20240920_174815_db_schema.sql
  • 20240920_174815_db_data.sql
  • 20240920_174815_db_full.sql

How to use

  1. Download the latest release that matches your architecture and OS
  2. Extract the archive
  3. (suggested) Move the executable to one of your PATH dirs
  4. Run the executable from within your project

License

Distributed under the MIT License. See LICENSE for more information.