An open API service indexing awesome lists of open source software.

https://github.com/cakephp/migrations

CakePHP database migrations plugin
https://github.com/cakephp/migrations

cakephp cakephp-plugin database-migrations php

Last synced: 11 days ago
JSON representation

CakePHP database migrations plugin

Awesome Lists containing this project

README

          

# Migrations plugin for CakePHP

[![CI](https://github.com/cakephp/migrations/actions/workflows/ci.yml/badge.svg)](https://github.com/cakephp/migrations/actions/workflows/ci.yml)
[![Coverage Status](https://img.shields.io/codecov/c/github/cakephp/migrations/5.x.svg?style=flat-square)](https://app.codecov.io/github/cakephp/migrations/tree/5.x)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.txt)
[![Total Downloads](https://img.shields.io/packagist/dt/cakephp/migrations.svg?style=flat-square)](https://packagist.org/packages/cakephp/migrations)

This is a Database Migrations system for CakePHP.

The plugin provides a complete database migration solution with support for creating, running, and managing migrations.

This branch is for use with CakePHP **5.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 --only-cli
```

If you are using the PendingMigrations middleware, use:
```
bin/cake plugin load Migrations
```

## Documentation

Full documentation of the plugin can be found on the [CakePHP Cookbook](https://book.cakephp.org/migrations/5/).