Skip to content

Latest commit

 

History

History
56 lines (34 loc) · 2 KB

README.md

File metadata and controls

56 lines (34 loc) · 2 KB

Migrator Example - Database Migration Demonstration

Overview

This repository serves as an example showcasing the practical usage of the Migrator tool, a command-line utility designed for simplifying database management through migrations.

Purpose

The primary purpose of this repository is to demonstrate how to integrate and utilize the Migrator tool in a practical scenario, and how to create migrations without a framework. It provides a step-by-step guide on setting up migrations, creating a database schema, and managing the evolution of the database using the Migrator commands.

Getting Started

To get started with the example, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/guilhermewebdev/migrator-php-example.git
  2. Navigate to the Project Directory:

    cd migrator-php-example
  3. Install Dependencies:

  4. Execute:

    • Run docker compose up
  5. Explore the Example: Review the example code and project structure to understand how the Migrator tool is integrated and utilized.

Example Structure

The example project structure includes:

  • Database Migrations: Explore the migrations directory to see how migration files are organized.

  • Configuration: The project might include a configuration file (e.g., migrator.yml) to specify Migrator settings.

Feedback and Contributions

If you have any feedback, questions, or suggestions related to the Migrator tool or this example repository, feel free to open an issue or submit a pull request. Your contributions are highly valued!

License

This example project is licensed under MIT. Refer to the LICENSE file for more details.

Acknowledgments

Special thanks to Guilherme Isaías for developing the Migrator tool. Check out the Migrator repository for more information.

Enjoy using the Migrator tool in your database management journey!