/var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/migrations
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/migrations/README.md (1682B)
# Migrations plugin for CakePHP
[](https://github.com/cakephp/migrations/actions/workflows/ci.yml)
[](https://app.codecov.io/github/cakephp/migrations/tree/3.x)
[](LICENSE.txt)
[](https://packagist.org/packages/cakephp/migrations)
This is a Database Migrations system for CakePHP.
The plugin consists of a CakePHP CLI wrapper for the [Phinx](https://book.cakephp.org/phinx/0/en/index.html) migrations library.
This branch is for use with CakePHP **4.x**. See [version map](https://github.com/cakephp/migrations/wiki#version-map) for details.
## Installation
You can install this plugin into your CakePHP application using [Composer](https://getcomposer.org).
Run the following command
```sh
composer require cakephp/migrations
```
## Configuration
You can load the plugin using the shell command:
```
bin/cake plugin load Migrations
```
Or you can manually add the loading statement in the **src/Application.php** file of your application:
```php
public function bootstrap(): void
{
parent::bootstrap();
$this->addPlugin('Migrations');
}
```
Additionally, you will need to configure the ``default`` database configuration in your **config/app.php** file.
## Documentation
Full documentation of the plugin can be found on the [CakePHP Cookbook](https://book.cakephp.org/migrations/3/).