webtown/doctrine-schema-update-bundle

Disable the doctrine:schema:update command. Force using migration method.

1.0.1 2016-03-29 13:38 UTC

This package is not auto-updated.

Last update: 2024-04-13 16:34:44 UTC


README

This bundle are blocking the doctrine:schema:update command.

Install

Via Composer

Register in composer:

    "require": {
        // ...
        "webtown/doctrine-schema-update-bundle": "~1.0",
        // ...
    },
    "repositories": [
        {
            "type": "vcs",
            "url":  "git@github.com:webtown-php/DoctrineSchemaUpdateBundle.git"
        }
    ],
$ composer update webtown/doctrine-schema-update-bundle

And register in the app/AppKernel.php, AFTER the DoctrineBundle:

<?php
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
        //...
        new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
        //...
        // Afer the DoctrineBundle
        new Webtown\DoctrineSchemaUpdateBundle\WebtownDoctrineSchemaUpdateBundle(),
        //...
        );
    }
}

Usage

$skeleton = new League\Skeleton();
echo $skeleton->echoPhrase('Hello, League!');

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email :author_email instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.