2017 © Pedro PelĂĄez
 

symfony-bundle migrations-bundle

Symfony Bundle to handle migrations between multiple bundles

image

saelker/migrations-bundle

Symfony Bundle to handle migrations between multiple bundles

  • Monday, July 16, 2018
  • by 1mp
  • Repository
  • 2 Watchers
  • 1 Stars
  • 223 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 23 Versions
  • 135 % Grown

The README.md

Saelker Migrations Bundle

Update from 1.1.x => 1.2.x

Before updating to 1.2.x add to migration table the sequence column with type interger, (*1)

Step 1: Install via Composer

composer reqire saelker/migrations-bundle, (*2)

Step 2: Add to Your App Kernel

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Saelker\MigrationsBundle\SaelkerMigrationsBundle(),
    );
}

Step 3.1: Add Directories via config

# Saelker Migrations Directories
saelker_migrations:
    directories:
        - '%kernel.project_dir%/src/AppBundle/Migrations'
        ...

Step 3.2: Add Directories via CompilerPass

class SaelkerMigrationsBundle extends Bundle
{
    public function build(ContainerBuilder $container)
    {
         parent::build($container);

         $container->addCompilerPass(new MigrationsCompilerPass(__DIR__ . "/Migrations"));
    }
}

Step 4: Run first migration

bin/console saelker:migrations:migrate

Step 5: Generate new migration

bin/console saelker:migrations:generate

Step 6: Modify saved path depth

# Saelker Migrations Directories
saelker_migrations:
    clean_depth: 3
    directory_separator: '/'
    use_camel_case: false
    ignore_errors: false

The Versions

16/07 2018

dev-master

9999999-dev http://github.com/saelker/MigrationsBundle

Symfony Bundle to handle migrations between multiple bundles

  Sources   Download

MIT

The Requires

 

The Development Requires

by SĂ€lker IT Solutions GmbH & Co. KG

migrations bundle doctrine symfony3 symfony saelker symfony4

25/01 2018

v2.0.1

2.0.1.0 http://github.com/saelker/MigrationsBundle

Symfony Bundle to handle migrations between multiple bundles

  Sources   Download

MIT

The Requires

 

The Development Requires

by SĂ€lker IT Solutions GmbH & Co. KG

migrations bundle doctrine symfony3 symfony saelker symfony4

24/01 2018

v2.0.0

2.0.0.0 http://github.com/saelker/MigrationsBundle

Symfony Bundle to handle migrations between multiple bundles

  Sources   Download

MIT

The Requires

 

The Development Requires

by SĂ€lker IT Solutions GmbH & Co. KG

migrations bundle doctrine symfony3 symfony saelker symfony4

24/01 2018

v2.x-dev

2.9999999.9999999.9999999-dev http://github.com/saelker/MigrationsBundle

Symfony Bundle to handle migrations between multiple bundles

  Sources   Download

MIT

The Requires

 

The Development Requires

by SĂ€lker IT Solutions GmbH & Co. KG

migrations bundle doctrine symfony3 symfony saelker symfony4

27/12 2017

v1.5.2

1.5.2.0 http://github.com/saelker/MigrationsBundle

Symfony Bundle to handle migrations between multiple bundles

  Sources   Download

MIT

The Requires

 

The Development Requires

by SĂ€lker IT Solutions GmbH & Co. KG

migrations bundle doctrine symfony3 symfony saelker

27/12 2017

v1.5.1

1.5.1.0 http://github.com/saelker/MigrationsBundle

Symfony Bundle to handle migrations between multiple bundles

  Sources   Download

MIT

The Requires

 

The Development Requires

by SĂ€lker IT Solutions GmbH & Co. KG

migrations bundle doctrine symfony3 symfony saelker

27/12 2017

v1.5

1.5.0.0 http://github.com/saelker/MigrationsBundle

Symfony Bundle to handle migrations between multiple bundles

  Sources   Download

MIT

The Requires

 

The Development Requires

by SĂ€lker IT Solutions GmbH & Co. KG

migrations bundle doctrine symfony3 symfony saelker

29/11 2017

v1.4.1

1.4.1.0 http://github.com/saelker/MigrationsBundle

Symfony Bundle to handle migrations between multiple bundles

  Sources   Download

MIT

The Requires

 

The Development Requires

by SĂ€lker IT Solutions GmbH & Co. KG

migrations bundle doctrine symfony3 symfony saelker

24/11 2017

v1.4

1.4.0.0 http://github.com/saelker/MigrationsBundle

Symfony Bundle to handle migrations between multiple bundles

  Sources   Download

MIT

The Requires

 

The Development Requires

by SĂ€lker IT Solutions GmbH & Co. KG

migrations bundle doctrine symfony3 symfony saelker

17/10 2017

v1.3.0

1.3.0.0 http://github.com/saelker/MigrationsBundle

Symfony Bundle to handle migrations between multiple bundles

  Sources   Download

MIT

The Requires

 

The Development Requires

by SĂ€lker IT Solutions GmbH & Co. KG

migrations bundle doctrine symfony3 symfony saelker

21/09 2017

v1.2.7

1.2.7.0 http://github.com/saelker/MigrationsBundle

Symfony Bundle to handle migrations between multiple bundles

  Sources   Download

MIT

The Requires

 

The Development Requires

by SĂ€lker IT Solutions GmbH & Co. KG

migrations bundle doctrine symfony3 symfony saelker

15/09 2017

v1.2.6

1.2.6.0 http://github.com/saelker/MigrationsBundle

Symfony Bundle to handle migrations between multiple bundles

  Sources   Download

MIT

The Requires

 

The Development Requires

by SĂ€lker IT Solutions GmbH & Co. KG

migrations bundle doctrine symfony3 symfony saelker

15/09 2017

v1.2.5

1.2.5.0 http://github.com/saelker/MigrationsBundle

Symfony Bundle to handle migrations between multiple bundles

  Sources   Download

MIT

The Requires

 

The Development Requires

by SĂ€lker IT Solutions GmbH & Co. KG

migrations bundle doctrine symfony3 symfony saelker

10/09 2017

v1.2.4

1.2.4.0 http://github.com/saelker/MigrationsBundle

Symfony Bundle to handle migrations between multiple bundles

  Sources   Download

MIT

The Requires

 

The Development Requires

by SĂ€lker IT Solutions GmbH & Co. KG

migrations bundle doctrine symfony3 symfony saelker

04/09 2017

v1.2.3

1.2.3.0 http://github.com/saelker/MigrationsBundle

Symfony Bundle to handle migrations between multiple bundles

  Sources   Download

MIT

The Requires

 

The Development Requires

by SĂ€lker IT Solutions GmbH & Co. KG

migrations bundle doctrine symfony3 symfony saelker

04/09 2017

v1.2.2

1.2.2.0 http://github.com/saelker/MigrationsBundle

Symfony Bundle to handle migrations between multiple bundles

  Sources   Download

MIT

The Requires

 

The Development Requires

by SĂ€lker IT Solutions GmbH & Co. KG

migrations bundle doctrine symfony3 symfony saelker

04/09 2017

v1.2.1

1.2.1.0 http://github.com/saelker/MigrationsBundle

Symfony Bundle to handle migrations between multiple bundles

  Sources   Download

MIT

The Requires

 

The Development Requires

by SĂ€lker IT Solutions GmbH & Co. KG

migrations bundle doctrine symfony3 symfony saelker

16/08 2017

v1.2

1.2.0.0 http://github.com/saelker/MigrationsBundle

Symfony Bundle to handle migrations between multiple bundles

  Sources   Download

MIT

The Requires

 

The Development Requires

by SĂ€lker IT Solutions GmbH & Co. KG

migrations bundle doctrine symfony3 symfony saelker

14/08 2017

v1.1.6

1.1.6.0 http://github.com/saelker/MigrationsBundle

Symfony Bundle to handle migrations between multiple bundles

  Sources   Download

MIT

The Requires

 

The Development Requires

by SĂ€lker IT Solutions GmbH & Co. KG

migrations bundle doctrine symfony3 symfony saelker

12/07 2017

v1.1.5

1.1.5.0 http://github.com/saelker/MigrationsBundle

Symfony Bundle to handle migrations between multiple bundles

  Sources   Download

MIT

The Requires

 

The Development Requires

by SĂ€lker IT Solutions GmbH & Co. KG

migrations bundle doctrine symfony3 symfony saelker

06/07 2017

v1.1.4

1.1.4.0 http://github.com/saelker/MigrationsBundle

Symfony Bundle to handle migrations between multiple bundles

  Sources   Download

MIT

The Requires

 

The Development Requires

by SĂ€lker IT Solutions GmbH & Co. KG

migrations bundle doctrine symfony3 symfony saelker

05/07 2017

v1.1.3

1.1.3.0 http://github.com/saelker/MigrationsBundle

Symfony Bundle to handle migrations between multiple bundles

  Sources   Download

MIT

The Requires

 

The Development Requires

by SĂ€lker IT Solutions GmbH & Co. KG

migrations bundle doctrine symfony3 symfony saelker

04/07 2017

v1.0

1.0.0.0 http://github.com/saelker/MigrationsBundle

Symfony Bundle to handle migrations between multiple bundles

  Sources   Download

MIT

The Requires

 

The Development Requires

by SĂ€lker IT Solutions GmbH & Co. KG

migrations bundle doctrine symfony3 symfony saelker