mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-22 23:27:31 +01:00
Added Timestampable interface to entities that missed it, to fix timetravel in certain cases
This commit is contained in:
@@ -22,6 +22,7 @@ declare(strict_types=1);
|
||||
*/
|
||||
namespace App\Entity\UserSystem;
|
||||
|
||||
use App\Entity\Contracts\TimeStampableInterface;
|
||||
use Doctrine\DBAL\Types\Types;
|
||||
use App\Entity\Base\TimestampTrait;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
@@ -31,7 +32,7 @@ use Webauthn\PublicKeyCredentialSource as BasePublicKeyCredentialSource;
|
||||
#[ORM\Entity]
|
||||
#[ORM\HasLifecycleCallbacks]
|
||||
#[ORM\Table(name: 'webauthn_keys')]
|
||||
class WebauthnKey extends BasePublicKeyCredentialSource
|
||||
class WebauthnKey extends BasePublicKeyCredentialSource implements TimeStampableInterface
|
||||
{
|
||||
use TimestampTrait;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user