summaryrefslogtreecommitdiff
path: root/src/application/mystic/forum/orm
diff options
context:
space:
mode:
Diffstat (limited to 'src/application/mystic/forum/orm')
-rw-r--r--src/application/mystic/forum/orm/User.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/application/mystic/forum/orm/User.php b/src/application/mystic/forum/orm/User.php
index 1db1d04..97acbaf 100644
--- a/src/application/mystic/forum/orm/User.php
+++ b/src/application/mystic/forum/orm/User.php
@@ -3,6 +3,7 @@ declare(strict_types=1);
namespace mystic\forum\orm;
+use mystic\forum\attributes\Column;
use mystic\forum\attributes\PrimaryKey;
use mystic\forum\attributes\Table;
use mystic\forum\attributes\Unique;
@@ -22,6 +23,8 @@ class User extends Entity {
public bool $passwordResetRequired;
public string $activationToken;
public bool $activated;
+ #[Column(columnType: "bytea")] public ?string $profilePicture;
+ public ?\DateTimeImmutable $nameLastChanged;
public function hasPermission(int $perm): bool {
if ($this->id === self::SUPERUSER_ID)