[DB][FKEY] Temporarily disable foreign key mapping, as there seems to be a bug in doctrine, which is under investigation
This commit is contained in:
parent
faa362e2e2
commit
e2e561e663
@ -109,7 +109,7 @@ class SchemaDefDriver extends StaticPHPDriver implements CompilerPassInterface
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($opts['foreign key'] ?? false) {
|
if (false && $opts['foreign key'] ?? false) {
|
||||||
foreach (['target', 'multiplicity'] as $f) {
|
foreach (['target', 'multiplicity'] as $f) {
|
||||||
if (!isset($opts[$f])) {
|
if (!isset($opts[$f])) {
|
||||||
throw new \Exception("{$class_name}.{$name} doesn't have the required field `{$f}`");
|
throw new \Exception("{$class_name}.{$name} doesn't have the required field `{$f}`");
|
||||||
|
@ -91,7 +91,7 @@ abstract class Common
|
|||||||
|
|
||||||
public static function userNickname(): ?string
|
public static function userNickname(): ?string
|
||||||
{
|
{
|
||||||
self::ensureLoggedIn()->getNickname();
|
return self::ensureLoggedIn()->getNickname();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function ensureLoggedIn(): LocalUser
|
public static function ensureLoggedIn(): LocalUser
|
||||||
|
Loading…
Reference in New Issue
Block a user