2017 © Pedro PelĂĄez
 

library composer-bundle-migration

Move DoctrineMigrations files from installed bundle to root package.

image

champs-libres/composer-bundle-migration

Move DoctrineMigrations files from installed bundle to root package.

  • Monday, February 23, 2015
  • by julienfastre
  • Repository
  • 3 Watchers
  • 0 Stars
  • 1,590 Installations
  • PHP
  • 10 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

ComposerBundleMigration

Migrate Doctrine Migrations files from installed bundles to the root package., (*1)

Installation

In your root package :, (*2)

composer require champs-libres/composer-bundle-migration ~1.0, (*3)

Add the post-install-cmd and post-update-cmd in your root composer.json :, (*4)

"scripts": {
        "post-install-cmd": [
            "ComposerBundleMigration\\Composer\\Migrations::synchronizeMigrations"
        ],
        "post-update-cmd": [
            "ComposerBundleMigration\\Composer\\Migrations::synchronizeMigrations"
        ]      
    }

Configure migration directory

In your root package, you may configure the directory where migrations files are copied., (*5)

In composer.json:, (*6)

"extra": {
    "appMigrationsDir": "path/to/my/dir"
}

Default is app/DoctrineMigrations (the default for doctrine-migrations-bundle)., (*7)

Configure migration source dir

In the installed packages, you may also configure the directory where migrations files are located., (*8)

"extra": {
    "migration-source": "path/to/my/source/folder"
}

Default is Resources/migrations., (*9)

The Versions

23/02 2015

1.0.6

1.0.6.0

Move DoctrineMigrations files from installed bundle to root package.

  Sources   Download

AGPL-3.0

The Requires

  • php >5.4

 

by Julien Fastré

doctrine symfony doctrine migrations

16/02 2015

dev-master

9999999-dev

Move DoctrineMigrations files from installed bundle to root package.

  Sources   Download

AGPL-3.0

The Requires

  • php >5.4

 

by Julien Fastré

doctrine symfony doctrine migrations

16/02 2015

1.0.5

1.0.5.0

Move DoctrineMigrations files from installed bundle to root package.

  Sources   Download

AGPL-3.0

The Requires

  • php >5.4

 

by Julien Fastré

doctrine symfony doctrine migrations

29/01 2015

1.0.4

1.0.4.0

Move DoctrineMigrations files from installed bundle to root package.

  Sources   Download

AGPL-3.0

The Requires

  • php >5.4

 

by Julien Fastré

doctrine symfony doctrine migrations

29/01 2015

1.0.3

1.0.3.0

Move DoctrineMigrations files from installed bundle to root package.

  Sources   Download

AGPL-3.0

The Requires

  • php >5.4

 

by Julien Fastré

doctrine symfony doctrine migrations

29/01 2015

1.0.2

1.0.2.0

Move DoctrineMigrations files from installed bundle to root package.

  Sources   Download

AGPL-3.0

The Requires

  • php >5.4

 

by Julien Fastré

doctrine symfony doctrine migrations

29/01 2015

1.0.1

1.0.1.0

Move DoctrineMigrations files from installed bundle to root package.

  Sources   Download

AGPL-3.0

The Requires

  • php >5.4

 

by Julien Fastré

doctrine symfony doctrine migrations

29/01 2015

1.0.0

1.0.0.0

Move DoctrineMigrations files from installed bundle to root package.

  Sources   Download

AGPL-3.0

The Requires

  • php >5.4

 

by Julien Fastré

doctrine symfony doctrine migrations