Skip to content

Commit

Permalink
Merge pull request #939 from /issues/938-migration-guide
Browse files Browse the repository at this point in the history
Fix #938: Prepare migration guide for release 1.0.0
  • Loading branch information
romanstrobl authored Jan 18, 2021
2 parents 3cec282 + c5a473e commit 8ef73e7
Show file tree
Hide file tree
Showing 3 changed files with 7,268 additions and 2,702 deletions.
1 change: 1 addition & 0 deletions docs/Migration-Instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

This page contains PowerAuth Web Flow migration instructions.

- [PowerAuth Web Flow 1.0.0](./Web-Flow-1.0.0.md)
- [PowerAuth Web Flow 0.24.0](./Web-Flow-0.24.0.md)
- [PowerAuth Web Flow 0.23.0](./Web-Flow-0.23.0.md)
- [PowerAuth Web Flow 0.22.0](./Web-Flow-0.22.0.md)
Expand Down
30 changes: 30 additions & 0 deletions docs/Web-Flow-1.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Migration from 0.23.0 to 0.24.0

## Database Changes

Following database changes were introduced in version `1.0.0`:

- Allowed nullability of column `external_id` in table `tpp_user_consent`

DDL update script for Oracle:
```sql
ALTER TABLE tpp_user_consent MODIFY external_id VARCHAR(256);
```

DDL update script for MySQL:
```sql
ALTER TABLE tpp_user_consent MODIFY external_id VARCHAR(256);
```

DDL update script for PostgreSQL:
```sql
ALTER TABLE tpp_user_consent ALTER COLUMN external_id DROP NOT NULL;
```

## Upgrade to React 16

The Web application has been migrated to React version 16.

As part of the migration, the following definition needs to be changed in `customization.css`:
- The `panel-body` class is no longer used in React 16. Replace all occurrences of `panel-body` with `panel-default`.
- It is possible that no such customization is done, in this case skip this upgrade step.
Loading

0 comments on commit 8ef73e7

Please sign in to comment.