We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1186996 commit 821cbc4Copy full SHA for 821cbc4
1 file changed
src/Entities/Environment.php
@@ -14,10 +14,10 @@ class Environment
14
/** @Column(type="string") */
15
private $name;
16
17
- /** @OneToMany(targetEntity="ContentType", mappedBy="environment_id") */
+ /** @OneToMany(targetEntity="ContentType", mappedBy="environment") */
18
private $contentTypes;
19
20
- /** @OneToMany(targetEntity="File", mappedBy="environment_id") */
+ /** @OneToMany(targetEntity="File", mappedBy="environment") */
21
private $files;
22
23
/**
@@ -57,4 +57,4 @@ public function addFile(File $file)
57
{
58
$this->files[] = $file;
59
}
60
-}
+}
0 commit comments