diff --git a/app/AppKernel.php b/app/AppKernel.php index 021df70..365e327 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -15,6 +15,7 @@ public function registerBundles() new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(), new Symfony\Bundle\AsseticBundle\AsseticBundle(), new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), + new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(), new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(), new JMS\AopBundle\JMSAopBundle(), new JMS\DiExtraBundle\JMSDiExtraBundle($this), diff --git a/composer.json b/composer.json index d11a35c..fc5a655 100644 --- a/composer.json +++ b/composer.json @@ -15,6 +15,7 @@ "symfony/symfony": "2.2.*", "doctrine/orm": "~2.2,>=2.2.3", "doctrine/doctrine-bundle": "1.2.*", + "doctrine/doctrine-migrations-bundle": "dev-master", "twig/extensions": "1.0.*", "symfony/assetic-bundle": "2.1.*", "symfony/swiftmailer-bundle": "2.2.*", diff --git a/composer.lock b/composer.lock index c809701..e32efd0 100644 --- a/composer.lock +++ b/composer.lock @@ -1,5 +1,9 @@ { - "hash": "09e4c6b5bd9e429aa5af52fbc9a48f5c", + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file" + ], + "hash": "cafb2963c49cbcca9aa43ce655eda66d", "packages": [ { "name": "doctrine/annotations", @@ -407,6 +411,60 @@ ], "time": "2013-03-25 20:13:59" }, + { + "name": "doctrine/doctrine-migrations-bundle", + "version": "dev-master", + "target-dir": "Doctrine/Bundle/MigrationsBundle", + "source": { + "type": "git", + "url": "https://github.com/doctrine/DoctrineMigrationsBundle.git", + "reference": "6891b8595a003afce8040dd794e6e9f379bbfafc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/zipball/6891b8595a003afce8040dd794e6e9f379bbfafc", + "reference": "6891b8595a003afce8040dd794e6e9f379bbfafc", + "shasum": "" + }, + "require": { + "doctrine/doctrine-bundle": ">=1.0,<2.0", + "doctrine/migrations": "*", + "php": ">=5.3.2", + "symfony/framework-bundle": ">=2.1.0,<2.4-dev" + }, + "type": "symfony-bundle", + "autoload": { + "psr-0": { + "Doctrine\\Bundle\\MigrationsBundle": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "http://symfony.com/contributors" + }, + { + "name": "Doctrine Project", + "homepage": "http://www.doctrine-project.org" + } + ], + "description": "Symfony DoctrineMigrationsBundle", + "homepage": "http://www.doctrine-project.org", + "keywords": [ + "dbal", + "migrations", + "schema" + ], + "time": "2013-04-27 11:57:31" + }, { "name": "doctrine/inflector", "version": "v1.0", @@ -522,6 +580,60 @@ ], "time": "2013-01-12 18:59:04" }, + { + "name": "doctrine/migrations", + "version": "v1.0-ALPHA1", + "source": { + "type": "git", + "url": "https://github.com/doctrine/migrations", + "reference": "v1.0-ALPHA1" + }, + "dist": { + "type": "zip", + "url": "https://github.com/doctrine/migrations/zipball/v1.0-ALPHA1", + "reference": "v1.0-ALPHA1", + "shasum": "" + }, + "require": { + "doctrine/dbal": ">=2.0,<2.5.x-dev", + "php": ">=5.3.2" + }, + "require-dev": { + "symfony/console": "2.*", + "symfony/yaml": "2.*" + }, + "suggest": { + "symfony/console": "to run the migration from the console" + }, + "type": "library", + "autoload": { + "psr-0": { + "Doctrine\\DBAL\\Migrations": "lib" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL" + ], + "authors": [ + { + "name": "Jonathan H. Wage", + "email": "jonwage@gmail.com", + "homepage": "http://www.jwage.com/" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + } + ], + "description": "Database Schema migrations using Doctrine DBAL", + "homepage": "http://www.doctrine-project.org", + "keywords": [ + "database", + "migrations" + ], + "time": "2012-10-05 04:15:13" + }, { "name": "doctrine/orm", "version": "2.3.3", @@ -738,21 +850,24 @@ }, { "name": "jdorn/sql-formatter", - "version": "v1.2.0", + "version": "v1.2.9", "source": { "type": "git", - "url": "git://github.com/jdorn/sql-formatter.git", - "reference": "v1.2.0" + "url": "https://github.com/jdorn/sql-formatter.git", + "reference": "v1.2.9" }, "dist": { "type": "zip", - "url": "https://github.com/jdorn/sql-formatter/archive/v1.2.0.zip", - "reference": "v1.2.0", + "url": "https://api.github.com/repos/jdorn/sql-formatter/zipball/v1.2.9", + "reference": "v1.2.9", "shasum": "" }, "require": { "php": ">=5.2.4" }, + "require-dev": { + "phpunit/phpunit": "3.7.*" + }, "type": "library", "extra": { "branch-alias": { @@ -764,9 +879,9 @@ "lib" ] }, - "notification-url": "http://packagist.org/downloads/", + "notification-url": "https://packagist.org/downloads/", "license": [ - "LGPL" + "MIT" ], "authors": [ { @@ -781,7 +896,7 @@ "highlight", "sql" ], - "time": "2012-12-22 21:46:50" + "time": "2013-04-26 18:42:52" }, { "name": "jms/aop-bundle", @@ -2404,6 +2519,7 @@ ], "minimum-stability": "alpha", "stability-flags": { + "doctrine/doctrine-migrations-bundle": 20, "ornicar/gravatar-bundle": 20, "stof/doctrine-extensions-bundle": 20 },