Added doctrine migrations.

This commit is contained in:
Tim Schumacher 2014-07-10 12:43:34 +02:00
parent e17c6529db
commit 480e0e5568
3 changed files with 191 additions and 9 deletions

View file

@ -18,6 +18,7 @@ class AppKernel extends Kernel
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
new Hackspace\Bundle\CalciferBundle\CalciferBundle(),
new Knp\Bundle\MarkdownBundle\KnpMarkdownBundle(),
new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(),
);
if (in_array($this->getEnvironment(), array('dev', 'test'))) {

View file

@ -33,7 +33,10 @@
"incenteev/composer-parameter-handler": "~2.0",
"jquery/jquery": "1.10.*",
"knplabs/knp-markdown-bundle": "~1.3",
"jsvrcek/ics": "dev-master"
"jsvrcek/ics": "dev-master",
"doctrine/migrations": "dev-master",
"doctrine/doctrine-migrations-bundle": "dev-master",
"jbroadway/urlify" : "~1.0"
},
"require-dev": {
"sensio/generator-bundle": "~2.3"

194
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"hash": "742fd364d982b3f6991eaf2d26110902",
"hash": "a72c02cc5e14c865991a846b5bac02fb",
"packages": [
{
"name": "doctrine/annotations",
@ -437,6 +437,67 @@
],
"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": "f7138381aa884c0f679da4de41e369b94ead9cd3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/zipball/f7138381aa884c0f679da4de41e369b94ead9cd3",
"reference": "f7138381aa884c0f679da4de41e369b94ead9cd3",
"shasum": ""
},
"require": {
"doctrine/doctrine-bundle": "~1.0",
"doctrine/migrations": "~1.0@dev",
"php": ">=5.3.2",
"symfony/framework-bundle": "~2.1"
},
"type": "symfony-bundle",
"extra": {
"branch-alias": {
"dev-master": "2.1.x-dev"
}
},
"autoload": {
"psr-0": {
"Doctrine\\Bundle\\MigrationsBundle": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com",
"homepage": "http://fabien.potencier.org",
"role": "Lead Developer"
},
{
"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": "2014-03-20 14:48:55"
},
{
"name": "doctrine/inflector",
"version": "v1.0",
@ -553,6 +614,66 @@
],
"time": "2013-01-12 18:59:04"
},
{
"name": "doctrine/migrations",
"version": "dev-master",
"source": {
"type": "git",
"url": "https://github.com/doctrine/migrations.git",
"reference": "4256449c5e2603a6b6ee5a78c7c4521d4d4430b8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/migrations/zipball/4256449c5e2603a6b6ee5a78c7c4521d4d4430b8",
"reference": "4256449c5e2603a6b6ee5a78c7c4521d4d4430b8",
"shasum": ""
},
"require": {
"doctrine/dbal": "~2.0",
"php": ">=5.3.2"
},
"require-dev": {
"symfony/console": "2.*",
"symfony/yaml": "2.*"
},
"suggest": {
"symfony/console": "to run the migration from the console"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
}
},
"autoload": {
"psr-0": {
"Doctrine\\DBAL\\Migrations": "lib"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"LGPL"
],
"authors": [
{
"name": "Jonathan Wage",
"email": "jonwage@gmail.com",
"homepage": "http://www.jwage.com/",
"role": "Creator"
},
{
"name": "Benjamin Eberlei",
"email": "kontakt@beberlei.de"
}
],
"description": "Database Schema migrations using Doctrine DBAL",
"homepage": "http://www.doctrine-project.org",
"keywords": [
"database",
"migrations"
],
"time": "2014-07-09 07:58:02"
},
{
"name": "doctrine/orm",
"version": "v2.4.3",
@ -681,6 +802,61 @@
],
"time": "2013-12-07 10:10:39"
},
{
"name": "jbroadway/urlify",
"version": "1.0.3-stable",
"source": {
"type": "git",
"url": "https://github.com/jbroadway/urlify.git",
"reference": "c9ada9d3873d11f72fa772aecd6896efad11ee67"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/jbroadway/urlify/zipball/c9ada9d3873d11f72fa772aecd6896efad11ee67",
"reference": "c9ada9d3873d11f72fa772aecd6896efad11ee67",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
}
},
"autoload": {
"psr-0": {
"URLify": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Johnny Broadway",
"email": "johnny@johnnybroadway.com",
"homepage": "http://www.johnnybroadway.com/",
"role": "Main Developer"
}
],
"description": "PHP port of URLify.js from the Django project. Transliterates non-ascii characters for use in URLs.",
"homepage": "https://github.com/jbroadway/urlify",
"keywords": [
"encode",
"iconv",
"link",
"slug",
"translit",
"transliterate",
"transliteration",
"url",
"urlify"
],
"time": "2014-03-17 16:14:04"
},
{
"name": "jdorn/sql-formatter",
"version": "v1.2.17",
@ -1479,16 +1655,16 @@
},
{
"name": "symfony/symfony",
"version": "v2.5.0",
"version": "v2.5.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/symfony.git",
"reference": "59365832a09a1d914d14cbca6a21a7f572760c3b"
"reference": "e3d2844abc988bc467bb1593cd340700096b0ac0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/symfony/zipball/59365832a09a1d914d14cbca6a21a7f572760c3b",
"reference": "59365832a09a1d914d14cbca6a21a7f572760c3b",
"url": "https://api.github.com/repos/symfony/symfony/zipball/e3d2844abc988bc467bb1593cd340700096b0ac0",
"reference": "e3d2844abc988bc467bb1593cd340700096b0ac0",
"shasum": ""
},
"require": {
@ -1496,7 +1672,7 @@
"php": ">=5.3.3",
"psr/log": "~1.0",
"symfony/icu": "~1.0",
"twig/twig": "~1.11"
"twig/twig": "~1.12"
},
"replace": {
"symfony/browser-kit": "self.version",
@ -1591,7 +1767,7 @@
"keywords": [
"framework"
],
"time": "2014-05-31 18:45:50"
"time": "2014-07-08 14:42:08"
},
{
"name": "twig/extensions",
@ -1756,7 +1932,9 @@
],
"minimum-stability": "stable",
"stability-flags": {
"jsvrcek/ics": 20
"jsvrcek/ics": 20,
"doctrine/migrations": 20,
"doctrine/doctrine-migrations-bundle": 20
},
"platform": {
"php": ">=5.3.3"