Fatal flaw fixed.
This commit is contained in:
parent
6d557c9a40
commit
c2d682967a
|
@ -9,10 +9,10 @@ use Doctrine\Common\Collections\ArrayCollection;
|
||||||
use Doctrine\ORM\Mapping as ORM;
|
use Doctrine\ORM\Mapping as ORM;
|
||||||
|
|
||||||
#[ORM\Entity(repositoryClass: UserRepository::class)]
|
#[ORM\Entity(repositoryClass: UserRepository::class)]
|
||||||
|
#[ORM\HasLifecycleCallbacks]
|
||||||
#[ORM\Table(name: 'users', schema: 'users')]
|
#[ORM\Table(name: 'users', schema: 'users')]
|
||||||
#[ORM\Index(columns: ['public'], name: 'idx_user_public')]
|
#[ORM\Index(columns: ['public'], name: 'idx_user_public')]
|
||||||
#[ORM\Index(columns: ['is_removed'], name: 'idx_user_removed')]
|
#[ORM\Index(columns: ['is_removed'], name: 'idx_user_removed')]
|
||||||
#[ORM\HasLifecycleCallbacks]
|
|
||||||
class User
|
class User
|
||||||
{
|
{
|
||||||
public const AVATAR_SIZE_SMALL = '24';
|
public const AVATAR_SIZE_SMALL = '24';
|
||||||
|
|
Loading…
Reference in a new issue