2017 © Pedro Peláez
 

library migrations

image

25th/migrations

  • Monday, October 10, 2016
  • by dready
  • Repository
  • 7 Watchers
  • 0 Stars
  • 2,417 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 3 Open issues
  • 19 Versions
  • 5 % Grown

The README.md

25th Migrations

Build Status, (*1)

This module allows to upgrade the database after source code changes by applying sql files in the database., (*2)

Installation

Just install via composer, (*3)

TODO, (*4)

If you want an executable file somewhere in your project structure and not somewhere in vendors, composer will offer you the possibility to define a bin-dir where all executabls are symlinked., (*5)

{
    "config": {
        "bin-dir": "scripts"
    }
}

Configuration

Migrations is configured via ZF1's application.ini which is loaded from /application/configs/application.ini., (*6)

Currently only Doctrine's DBAL configuration is used., (*7)

During runtime a APPLICATION_ENV must be set!, (*8)

Usage

migrations status

migrations status will show you a list of all unapplied changes., (*9)

migrations apply

migrations apply next will apply the next changeset., (*10)

migrations apply all will apply all missing changesets., (*11)

migrations apply <sql-file-name> will apply the changeset ., (*12)

With the --only-mark option you can apply the migration without executing it., (*13)

Development

Running Tests:, (*14)

# Unit tests
vendor/bin/phpunit tests/unit/

# Component tests
docker-compose up -d
vendor/bin/phpunit tests/component/

The Versions

10/10 2016

dev-master

9999999-dev

  Sources   Download

The Requires

 

The Development Requires

by Martin Prebio

08/09 2016

v0.x-dev

0.9999999.9999999.9999999-dev

  Sources   Download

The Requires

 

The Development Requires

by Martin Prebio

08/09 2016

1.1.1

1.1.1.0

  Sources   Download

The Requires

 

The Development Requires

by Martin Prebio

03/09 2016

1.1.0

1.1.0.0

  Sources   Download

The Requires

 

The Development Requires

by Martin Prebio

18/08 2016

0.2.7

0.2.7.0

  Sources   Download

The Requires

 

The Development Requires

by Martin Prebio

15/04 2016

1.0.1

1.0.1.0

  Sources   Download

The Requires

 

The Development Requires

by Martin Prebio

30/03 2016

1.0.0

1.0.0.0

  Sources   Download

The Requires

 

The Development Requires

by Martin Prebio

27/07 2015

0.2.6

0.2.6.0

  Sources   Download

The Requires

 

The Development Requires

  • mikey179/vfsstream 1.1.*

by Martin Prebio

09/06 2014

0.2.5

0.2.5.0

  Sources   Download

The Requires

 

The Development Requires

  • mikey179/vfsstream 1.1.*

by Martin Prebio

13/02 2014

0.2.3

0.2.3.0

  Sources   Download

The Requires

 

The Development Requires

  • mikey179/vfsstream 1.1.*

by Martin Prebio

10/02 2014

0.2.2

0.2.2.0

  Sources   Download

The Requires

 

The Development Requires

  • mikey179/vfsstream 1.1.*

by Martin Prebio

16/10 2013

0.2.1

0.2.1.0

  Sources   Download

The Requires

 

The Development Requires

  • mikey179/vfsstream 1.1.*

by Martin Prebio

07/05 2013

0.2.0

0.2.0.0

  Sources   Download

The Requires

 

The Development Requires

  • mikey179/vfsstream 1.1.*

by Martin Prebio

11/04 2013

0.1.5

0.1.5.0

  Sources   Download

The Requires

 

The Development Requires

  • mikey179/vfsstream 1.1.*

by Martin Prebio

14/02 2013

0.1.4

0.1.4.0

  Sources   Download

The Requires

 

The Development Requires

  • mikey179/vfsstream 1.1.*

by Martin Prebio

11/02 2013

0.1.3

0.1.3.0

  Sources   Download

The Requires

 

The Development Requires

  • mikey179/vfsstream 1.1.*

by Martin Prebio

12/10 2012

0.1.2

0.1.2.0

  Sources   Download

The Requires

 

The Development Requires

  • mikey179/vfsstream 1.1.*

by Martin Prebio

24/09 2012

0.1.1

0.1.1.0

  Sources   Download

The Requires

 

The Development Requires

  • mikey179/vfsstream 1.1.*

by Martin Prebio

24/09 2012

0.1.0

0.1.0.0

  Sources   Download

The Requires

 

The Development Requires

  • mikey179/vfsstream 1.1.*

by Martin Prebio