From 97a86f958a3a5968d5e63658290244ef848db45a Mon Sep 17 00:00:00 2001 From: Alexey Samara Date: Wed, 17 Jun 2020 02:21:03 +0300 Subject: [PATCH] Set fixed version 2 of Doctrine Version 3 of Doctrine Migrations has brand new configuration without backward capability. Also, first migration throws and error: `[ERROR] The version "latest" couldn't be reached, you are at version "0"` which broke Symfony application inside docker container. --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index b2b80ec..de036a4 100644 --- a/composer.json +++ b/composer.json @@ -4,8 +4,8 @@ "license": "MIT", "description": "A pack for the Doctrine ORM", "require": { - "doctrine/orm": "*", - "doctrine/doctrine-bundle": "*", - "doctrine/doctrine-migrations-bundle": "*" + "doctrine/orm": "2.*", + "doctrine/doctrine-bundle": "2.*", + "doctrine/doctrine-migrations-bundle": "2.*" } }