This project was made to facilitate migrations in mysql databases, helping with the agility of the process and having greater control over bank versioning.
Create the migration control table.
Create a php file to be filled with your DB alterations.
Execute the migrations fowards or backwards, depending on the given token.
Optional: fake: Fakes the execution for this token and save the pointer to him.
Usage example: php migration.php migrate 02 fake
You need to create a file named: db_config.json
.
This file should follow the example of db_config_example.json
.