Skip to content

Commit

Permalink
fix: added missing database columns for WebAuthn keys
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Sep 12, 2024
1 parent 2789b17 commit 6a415e1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions phpmyfaq/src/phpMyFAQ/Instance/Database/Mysqli.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ class Mysqli extends Database implements Driver
access_token TEXT NULL DEFAULT NULL,
code_verifier VARCHAR(255) NULL DEFAULT NULL,
jwt TEXT NULL DEFAULT NULL,
webauthnkeys TEXT NULL DEFAULT NULL,
PRIMARY KEY (user_id)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ENGINE = InnoDB',

'faquserdata' => 'CREATE TABLE %sfaquserdata (
Expand Down
1 change: 1 addition & 0 deletions phpmyfaq/src/phpMyFAQ/Instance/Database/Pgsql.php
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ class Pgsql extends Database implements Driver
access_token TEXT NULL DEFAULT NULL,
code_verifier VARCHAR(255) NULL DEFAULT NULL,
jwt TEXT NULL DEFAULT NULL,
webauthnkeys TEXT NULL DEFAULT NULL,
PRIMARY KEY (user_id))',

'faquserdata' => 'CREATE TABLE %sfaquserdata (
Expand Down
1 change: 1 addition & 0 deletions phpmyfaq/src/phpMyFAQ/Instance/Database/Sqlite3.php
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ class Sqlite3 extends Database implements Driver
access_token TEXT NULL DEFAULT NULL,
code_verifier VARCHAR(255) NULL DEFAULT NULL,
jwt TEXT NULL DEFAULT NULL,
webauthnkeys TEXT NULL DEFAULT NULL,
PRIMARY KEY (user_id))',

'faquserdata' => 'CREATE TABLE %sfaquserdata (
Expand Down
1 change: 1 addition & 0 deletions phpmyfaq/src/phpMyFAQ/Instance/Database/Sqlsrv.php
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ class Sqlsrv extends Database implements Driver
access_token TEXT NULL DEFAULT NULL,
code_verifier VARCHAR(255) NULL DEFAULT NULL,
jwt TEXT NULL DEFAULT NULL,
webauthnkeys TEXT NULL DEFAULT NULL,
PRIMARY KEY (user_id))',

'faquserdata' => 'CREATE TABLE %sfaquserdata (
Expand Down

0 comments on commit 6a415e1

Please sign in to comment.