Skip to content

Commit

Permalink
chore: fix db types
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Steinmetz <[email protected]>
  • Loading branch information
st3iny committed Oct 29, 2024
1 parent b6ffb01 commit ef71b14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/Db/PublicKeyCredentialEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ class PublicKeyCredentialEntity extends Entity {
protected $createdAt;

public function __construct() {
$this->addType('counter', 'int');
$this->addType('counter', 'integer');
$this->addType('active', 'boolean');
$this->addType('createdAt', 'int');
$this->addType('createdAt', 'integer');
}

public static function fromPublicKeyCrendentialSource(string $name,
Expand Down
2 changes: 1 addition & 1 deletion lib/Db/Registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Registration extends Entity implements JsonSerializable {
protected $name;

public function __construct() {
$this->addType('counter', 'int');
$this->addType('counter', 'integer');
}

public function jsonSerialize(): array {
Expand Down

0 comments on commit ef71b14

Please sign in to comment.