[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:
@@ -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) {
|
||||
if (!isset($opts[$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
|
||||
{
|
||||
self::ensureLoggedIn()->getNickname();
|
||||
return self::ensureLoggedIn()->getNickname();
|
||||
}
|
||||
|
||||
public static function ensureLoggedIn(): LocalUser
|
||||
|
Reference in New Issue
Block a user