Skip to content

Commit 821cbc4

Browse files
authored
🐛 bugfix
1 parent 1186996 commit 821cbc4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Entities/Environment.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ class Environment
1414
/** @Column(type="string") */
1515
private $name;
1616

17-
/** @OneToMany(targetEntity="ContentType", mappedBy="environment_id") */
17+
/** @OneToMany(targetEntity="ContentType", mappedBy="environment") */
1818
private $contentTypes;
1919

20-
/** @OneToMany(targetEntity="File", mappedBy="environment_id") */
20+
/** @OneToMany(targetEntity="File", mappedBy="environment") */
2121
private $files;
2222

2323
/**
@@ -57,4 +57,4 @@ public function addFile(File $file)
5757
{
5858
$this->files[] = $file;
5959
}
60-
}
60+
}

0 commit comments

Comments
 (0)