Skip to content

Commit

Permalink
Merge pull request #1655 from /issues/1654-backport-update-mssql
Browse files Browse the repository at this point in the history
Backport Fix #1652: Update migration guide for MSSQL
  • Loading branch information
romanstrobl authored Aug 20, 2024
2 parents 697cb8d + 6c74d1b commit 38a9c04
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion docs/PowerAuth-Server-1.8.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,25 @@ credential list or exclude credential list during WebAuthn ceremonies, serving a
provide transport hints when registering a new credential. The format of the column is a list of authenticator transport
values supported by the WebAuthn protocol, serialized as a JSON array.


### Add status_reason Column

A new column `status_reason` has been added to the `pa_operation` table.
It provides optional details why the status changed.
The value should be sent in the form of a computer-readable code, not a free-form text.

### MSSQL Server Snapshot Isolation

In case you use PowerAuth server with Microsoft SQL server, enable the SNAPSHOT isolation to avoid deadlocks.

You can enable the SNAPSHOT isolation mode using following query:

```sql
ALTER DATABASE [powerauth_database] SET ALLOW_SNAPSHOT_ISOLATION ON;
ALTER DATABASE [powerauth_database] SET READ_COMMITTED_SNAPSHOT ON;
```

The SNAPSHOT transaction isolation level is enforced automatically by PowerAuth server when database sessions are started using following query:

```sql
SET TRANSACTION ISOLATION LEVEL SNAPSHOT;
```

0 comments on commit 38a9c04

Please sign in to comment.