From c2ff5570091d7a89097a0e621ee28c43ad8c9199 Mon Sep 17 00:00:00 2001 From: Maximilian Ruta Date: Thu, 16 Jun 2016 17:27:12 +0200 Subject: [PATCH] Quote reserved word In some doctrine platforms (for example ASE and properly older SQLServer versions) output is a reserved word. For this reason we should tell doctrine to quote it. Using backticks here infront of the name is the doctrine standard portable way to enable quoting for columns. --- Entity/Job.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Entity/Job.php b/Entity/Job.php index de8e42ad..bca5d4ad 100644 --- a/Entity/Job.php +++ b/Entity/Job.php @@ -134,7 +134,7 @@ class Job */ private $dependencies; - /** @ORM\Column(type = "text", nullable = true) */ + /** @ORM\Column(type = "text", name="`output`", nullable = true) */ private $output; /** @ORM\Column(type = "text", name="errorOutput", nullable = true) */