summaryrefslogtreecommitdiff
path: root/src/application/mystic/forum/orm
diff options
context:
space:
mode:
authorJonas Kohl2024-10-19 12:38:39 +0200
committerJonas Kohl2024-10-19 12:38:39 +0200
commit3c8f4f695f1b9ec7a188b85e0ce38bc69c697008 (patch)
tree918281d3471e70f85abe6946357a7737186187e5 /src/application/mystic/forum/orm
parent04b50a77c84e3e92a2ca2fd0e6d239d974429c5b (diff)
Small ORM fixes
Diffstat (limited to 'src/application/mystic/forum/orm')
-rw-r--r--src/application/mystic/forum/orm/User.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/application/mystic/forum/orm/User.php b/src/application/mystic/forum/orm/User.php
index 868f385..a1414c3 100644
--- a/src/application/mystic/forum/orm/User.php
+++ b/src/application/mystic/forum/orm/User.php
@@ -12,8 +12,7 @@ use mystic\forum\attributes\Unique;
class User extends Entity {
public const SUPERUSER_ID = "SUPERUSER";
- #[PrimaryKey]
- public string $id;
+ #[PrimaryKey] public string $id;
#[Unique] public string $name;
public string $displayName;
#[Unique] public string $email;